The ClassDef object helps you create tool information models, by adding interfaces to a class. To insert a new class definition into a tool information model, use the ReposTypeLib object.
To complete a class definition, once you have added all of the interfaces, commit the transaction that brackets your class definition modifications.
A ClassDef object is also a RepositoryObject. In addition to the members described here, ClassDef objects also provide the members that are defined for Repository objects.
Use the ClassDef object to:
Property | Description |
ClassID | The global identifier of the class. |
Method | Description |
AddInterface | Adds an existing interface to the class definition. |
CreateInterfaceDef | Creates a new interface and adds it to the class definition. |
ObjectInstances | Materializes an object collection containing all of the objects in the Repository that conform to this class. |