v2.37
|
|
The base interface for all model objects. More...
Public Member Functions | |
HRESULT | GetInterfaceByName ([in] BSTR interfaceName, [out, retval] IDispatch **ppInterface) |
Returns an interface by its name. | |
HRESULT | GetParameters ([out, retval] IParameterContainer **ppParameterContainer) |
Returns the parameter container interface for the object. | |
HRESULT | GetProperties ([out, retval] IPropertyContainer **ppPropertyContainer) |
Returns the property container interface for the object. | |
HRESULT | GetQuantities ([out, retval] IQuantityContainer **ppQuantityContainer) |
Returns the quantity container interface for the object. | |
Properties | |
int | Id [get] |
The identifier of the object instance. It is unique in current project instance. | |
BSTR | Name [get] |
The localized object name. | |
GUID | ObjectType [get] |
The type of the object. | |
BSTR | ObjectTypeS [get] |
The type of the object as a string. | |
GUID | UniqueId [get] |
The unique identifier of the object instance. It is a universal unique identifier. | |
BSTR | UniqueIdS [get] |
Same as UniqueId, but returning GUID as a string. | |
The base interface for all model objects.
Using this interface you can obtain the type, ID and name of an object. This interface can be obtained through the IModelObjectCollection interface.
HRESULT GetInterfaceByName | ( | [in] BSTR | interfaceName, |
[out, retval] IDispatch ** | ppInterface ) |
Returns an interface by its name.
This method is provided as an alternative for the standard COM QueryInterface() method for cases where IUnknown is not accessible, like interoperating with the API from some interpreted languages.
[in] | interfaceName | The name of the requested interface. |
[out] | ppInterface | The requested interface. |
HRESULT GetParameters | ( | [out, retval] IParameterContainer ** | ppParameterContainer | ) |
Returns the parameter container interface for the object.
HRESULT GetProperties | ( | [out, retval] IPropertyContainer ** | ppPropertyContainer | ) |
Returns the property container interface for the object.
HRESULT GetQuantities | ( | [out, retval] IQuantityContainer ** | ppQuantityContainer | ) |
Returns the quantity container interface for the object.
|
get |
The type of the object.
|
get |
The type of the object as a string.