ObjectCol Class

See Also

An object collection is a set of Microsoft® Repository objects that can be enumerated. Two kinds of object collections are supported by 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.

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.