ObjectNameSet Method (IMObject)
name of the object
Sets the object name.
Syntax
Sub ObjectNameSet( _
   ByVal _bsName As String _
) 
void ObjectNameSet( 
   string _bsName
)
procedure ObjectNameSet( 
    _bsName: String
); 
void ObjectNameSet( 
   BSTR* _bsName
) 

Parameters

_bsName
name of the object
Example
Dim myObject As String = "NewObject"
pObject.ObjectNameSet(myObject)
string myObject = @"NewObject";
pObject.ObjectNameSet(myObject);
pObject.ObjectNameSet('myNewObject')
See Also

Reference

IMObject Interface
IMObject Members