PropertyDef Class

See Also

When you define a class for a tool information model, you specify the interfaces that the class implements. For each of those interfaces, you specify the members (properties, methods, and collections) that are attached to the interface.

In order to attach a property to an interface, a property definition must exist for the property. The characteristics of the property (it's name, dispatch identifier, data type, and various storage details) are stored in the property definition. Property definitions are instances of the PropertyDef class.

To attach a new property to an interface, use the InterfaceDef class.

When to Use

Use the PropertyDef class to access or modify the characteristics of a property definition, or to determine the interface definition to which a particular property is attached.

Interfaces

Interface Description
IannotationalProps Gets and sets annotational properties.
IinterfaceMember Relates a member to an interface.
IpropertyDef Retains property characteristics.
IrepositoryDispatch Provides enhanced dispatch support.
IrepositoryItem Manages Repository objects and relationships.
IrepositoryObject Retrieves Repository object identifiers.
IrepositoryObjectStorage Creates and loads Repository objects.