ITcComObject:TcGetObjectId method
The method saves the object ID with the help of the given OTCID reference.
Syntax
HRESULT TcGetObjectId( OTCID& objId )
Return value
If successful, S_OK ("0") or another positive value will be returned, cf. Return values. Extended messages refer in particular to the column HRESULT in ADS Return Codes.
Parameter
Name | Type | Description |
|---|---|---|
objId | OTCID& | Reference to OTCID value. |