Meta Data Services Programming
ReposRoot Properties Collection
This collection contains all of the persistent properties and collections that are attached to an object through a particular interface. The ReposRoot object exposes four separate Properties collections. These collections are exposed by:
- The IManageReposTypeLib interface (the default).
- The IReposRoot interface.
- The IRepositoryObject interface.
- The IAnnotationalProps interface.
Syntax
Set variable = object.Properties(index)
The Properties collection syntax has the following parts.
Part | Description |
---|---|
variable | A variable declared as a ReposProperty object. It receives the specified property. |
object | An object expression. It evaluates to an object that exposes IManageReposTypeLib, IReposRoot, IRepositoryObject, or IAnnotationalProps as the default interface. |
index | An integer index that identifies which property in the collection is to be addressed. The valid range is from one to the total number of elements in the collection. The number of elements in the collection is specified by object.Properties.Count. |
Remarks
Additional steps are required for accessing members that are not part of the default interface. For more information about how to access a member of an interface that is not the default interface, see Accessing Automation Object Members.