Meta Data Services Programming
TransientObjectCol Item Collection
Use this property to retrieve 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.Remove(objName)
Set variable = object.Item(objId)
The Item property syntax has the following parts.
Part | Description |
---|---|
variable | A variable declared as a RepositoryObject or RepositoryObjectVersion. It receives the specified repository object. |
object | The object collection created by TransientObjectCol. |
index | The index of the repository object to be retrieved from the collection. |
objName | The name of the object to be retrieved from the collection. |
objId | The object identifier of the repository object to be retrieved from the collection. |
Remarks
This property retrieves a specific repository object from the collection by its position in the collection (as indicated by the index) or by identifier.
See Also
Object Identifiers and Internal Identifiers