ObjectCol Item Property

Meta Data Services Programming

Meta Data Services Programming

ObjectCol Item Property

This property retrieves an object from the collection. This is a read-only property. There are two variations of this property.

Syntax

Set variable  =  object.Item(index )
Set variable  =  object.Item(objId)

The Item property syntax has the following parts.

Part Description
variable A variable declared as a RepositoryObjectVersion. It receives the specified repository object.
object An object expression that evaluates to an ObjectCol object.
index The index of the repository object to be retrieved from the collection.
objId The object identifier of the repository object to be retrieved from the collection.

Remarks

This property yields the latest version of a repository object. The repository engine uses a version resolution strategy to select a specific version to include in the collection. For more information, see Resolution Strategy for Objects and Object Versions.

See Also

ObjectCol Object

RepositoryObjectVersion Object