ObjectCol Class

See Also

An object collection is a set of Repository objects that can be enumerated. Two kinds of object collections are supported by the Repository:

  1. The collection of destination objects that correspond to the relationships in a relationship collection. Use the RelationshipCol class to manage this kind of collection.

  2. The collection of all objects in the Repository that implement a particular interface. Use the ObjectCol class to enumerate objects in this kind of object collection.

Use the IInterfaceDef::ObjectInstances method to materialize an instance of this class.

When to Use

Use the ObjectCol class to access the collection of Repository objects that expose a particular interface.

Interfaces

Interface Description
IobjectCol Manages objects in a collection.