InterfaceDef ObjectInstances Method

See Also

This method materializes an ObjectCol collection of all objects in the Repository that expose this interface.

Syntax

Set variable = object.ObjectInstances

The ObjectInstances method syntax has the following parts.

Part Description
object An object expression that evaluates to an InterfaceDef object.
variable A variable declared as an ObjectCol object. Receives the collection of objects that expose this interface.

Remarks

The retrieved collection contains one version of each object that conforms to a class exposing this interface. For each such object, the Repository uses its Resolution strategy to choose which version appears in the collection.