This property retrieves an object from the collection. This is a read-only property. There are two variations of this property.
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. |
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.