ObjectCol Object

See Also

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

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

  2. The collection of all objects in the repository that conform to a particular class or expose a particular interface.

When to Use

Use the ObjectCol object to enumerate the collection of Repository objects that conform to a particular class or expose a particular interface. With this object, you can:

Properties

Property Description
Count The count of the number of items in the collection.
Item Retrieves the specified object from the collection.

Methods

Method Description
Refresh Refreshes the cached image of the collection.
LoadStatus Obtains the load status of the collection.
Cancel Requests the cancellation of the ongoing load operation.

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