IInterfaceDef::ObjectInstances

See Also

This method materializes an IObjectCol interface pointer for the collection of all objects in the Repository that expose this interface.

HRESULT ObjectInstances( IObjectCol **ppIObjectCol );

Parameters

*ppIObjectCol [out]
The interface pointer for the object collection.

Return Value

S_OK

The method completed successfully.

Error

Values

This method failed to complete successfully.

Remarks

The retrieved collection contains one version of each object that conforms to a class exposing this interface. For each such object, the Repository uses its Resolution strategy to choose which version appears in the collection.