Meta Data Services Programming
IInterfaceDef::ObjectInstances
This method materializes an IObjectCol interface pointer for the collection of all objects in the repository that expose the current interface.
HRESULT ObjectInstances(
IObjectCol **ppIObjectCol
);
Parts
*ppIObjectCol [out]
The interface pointer for the object collection.
Return Value
S_OK
The method completed successfully.
This method failed to complete successfully.
Remarks
The retrieved collection contains one version of each object that conforms to a class that exposes the current interface. For each such object, the repository engine uses its resolution strategy to choose which version appears in the collection.
ObjectInstances is not workspace scoped.