ObjectCol Class

Meta Data Services Programming

Meta Data Services Programming

ObjectCol Class

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

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

  • 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
IObjectCol2 Exposes methods for controlling the load status of an object collection

See Also

IInterfaceDef::ObjectInstances

IRepositoryDispatch Interface

RelationshipCol Class

Repository Engine Classes