IClassDef::ObjectInstances

See Also

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

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 the class. For each such object, the Repository uses its Resolution strategy to choose which version appears in the collection.