There is one Repository type library for every tool information model contained in the Repository database. Each tool information model provides a logical grouping of all of the type definitions related to a particular tool (or tool set). Repository type libraries are represented by ReposTypeLib objects.
A ReposTypeLib object is also a RepositoryObject. In addition to the members described here, ReposTypeLib objects also provide the members that are defined for Repository objects.
To insert a new tool information model into the Repository database, use the ReposRoot object.
Use a ReposTypeLib object to:
| Property | Description |
| TypeLibID | The global identifier for the Repository type library. |
| Method | Description |
| CreateClassDef | Creates a new class definition object. |
| CreateInterfaceDef | Creates a new interface definition object. |
| CreateRelationshipDef | Creates a new relationship definition object. |
| Collection | Description |
| ReposTypeInfos | The collection of all classes, interfaces, and relationship types that are defined in the Repository type library. |
| ReposTypeLibContexts | The collection of one Repository root object that is the context for the Repository type library. |
| Properties | The collection of all persistent properties that are attached to the ReposTypeLib object. |