Meta Data Services Programming
ReposTypeLib ReposTypeInfos Collection
This collection contains all classes, interfaces, and relationship types that are associated with a repository type library. The repository engine uses this collection to enforce the unique naming of all classes, interfaces, and relationship types for a repository type library.
Syntax
Set variable = object.ReposTypeInfos(index)
The ReposTypeInfos collection syntax has the following parts.
Part | Description |
---|---|
variable | A variable declared as an object. It receives the specified class definition, interface definition, or relationship definition. |
object | An object expression that evaluates to a ReposTypeLib object. |
index | An integer index that identifies which element 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.ReposTypeInfos.Count. For more information, see Selecting Items in a Collection. |
Remarks
The following characteristics are true for this collection.
Collection characteristic | Value | Description |
---|---|---|
Relationship Type | ReposTypeLib_ScopeFor_ReposTypeInfo | This is the type of relationship by which all items of the collection are connected to a common source object. |
Source Is Origin | Yes | The source object for the collection is also the origin object. |
Minimum Collection Size | Zero | The minimum number of items that must be contained in the collection is zero. |
Maximum Collection Size | Many | The maximum number of items that can be contained in the collection is unlimited. |
Sequenced Collection | No | As a destination collection, this does not have an explicitly defined sequence. Collections of origin objects are never sequenced. |
Deletes Propagated | Yes | Deleting an origin object or a relationship in the collection causes the deletion of a corresponding destination object. |
Destinations Named | Yes | The relationship type for the collection permits the naming of destination objects. |
Case-sensitive Names | No | This collection does not use case-sensitive names for destination objects. |
Unique Names | Yes | The collection requires that the name of a destination object be unique within the collection of destination objects. |