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 the 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.