ObjectNameGet Method (IMObject)
name of the object
Gets the object name.
Syntax
Sub ObjectNameGet( _
   ByRef _pbsName As String _
) 
void ObjectNameGet( 
   out string _pbsName
)
procedure ObjectNameGet( 
   Out  _pbsName: String
); 
void ObjectNameGet( 
   [PARAMFLAG::Out] BSTR* _pbsName
) 

Parameters

_pbsName
name of the object
Example
Dim myName As String
pObject.ObjectNameGet(myName)
string myName;
pObject.ObjectNameGet(out myName);
myName: string;
pObject.ObjectNameGet(myName);
See Also

Reference

IMObject Interface
IMObject Members