![]() |
v2.40
|
|
Represents a model object collection. More...
Public Member Functions | |
HRESULT | GetById ([in] int id, [out, retval] IModelObject **ppModelObject) |
Gets an object by its identifier. | |
HRESULT | GetByIndex ([in] int index, [out, retval] IModelObject **ppModelObject) |
Gets an object by the given index. | |
HRESULT | GetByUniqueId ([in] GUID id, [out, retval] IModelObject **ppEntity) |
Gets an object by its unique identifier. | |
HRESULT | GetIds ([out, retval] SAFEARRAY(int) *pIds) |
Gets the identifiers of objects in the collection. | |
Properties | |
int | Count [get] |
The number of objects in the collection. | |
Represents a model object collection.
Using this interface you can obtain model objects. This interface can be obtained through IModel.
HRESULT GetById | ( | [in] int | id, |
[out, retval] IModelObject ** | ppModelObject ) |
Gets an object by its identifier.
HRESULT GetByIndex | ( | [in] int | index, |
[out, retval] IModelObject ** | ppModelObject ) |
Gets an object by the given index.
HRESULT GetByUniqueId | ( | [in] GUID | id, |
[out, retval] IModelObject ** | ppEntity ) |
Gets an object by its unique identifier.
HRESULT GetIds | ( | [out, retval] SAFEARRAY(int) * | pIds | ) |
Gets the identifiers of objects in the collection.