Method ITcComObject:TcGetObjectId(OTCID& objId)

The method saves the object ID with the help of the given OTCID reference.

Syntax


HRESULT TcGetObjectId( OTCID& objId )

Parameter

objId: (type: OTCID&) reference to OTCID value.

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.

Description

The method stores Object ID using given OTCID reference.