Returns an interface to the object based on the object ID.
JavaScript |
|
GetObject( ObjectID) |
C# |
|
ITerraExplorerObject66 GetObject( string ObjectID) |
C++ |
|
HRESULT GetObject( BSTR ObjectID, ITerraExplorerObject66** pITerraExplorerObject66) |
Parameters
ObjectID
The ID of the object requested.
Return Value
pITerraExplorerObject66
An ITerraExplorerObject66 representing the created object.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.
Remarks
In some situations, it is helpful to know the object ID, for example, when you need to get an interface to the object in order to perform some operation.