InterfaceDef Class

Meta Data Services Programming

Meta Data Services Programming

InterfaceDef Class

The properties, methods, and collections that a class implements are organized into functionally related groups. Each group is implemented as a COM interface. The properties, methods, and collections of each interface are members of the interface. An interface definition is the template to which an interface conforms. Interface definitions are instances of the InterfaceDef class.

To create a new interface definition, use the ClassDef class or the ReposTypeLib class.

When to Use

Use the InterfaceDef class to:

  • Retrieve or modify properties of an interface definition.

  • Determine which members are attached to an interface definition.

  • Determine which classes implement an interface.

  • Determine the base interface from which an interface derives.

  • Determine what interfaces derive from a particular interface.

  • Determine which repository objects expose a particular interface.

  • Add a new property, method, or collection type to an interface definition.
Interfaces
Interface Description
IAnnotationalProps Gets and sets annotational properties
IInterfaceDef Manages interface definitions
INamedObject Retrieves or sets the class name
IRepositoryDispatch Provides enhanced dispatch support
IRepositoryItem Manages repository objects and relationships
IRepositoryObject Retrieves repository object identifiers
IRepositoryObjectStorage Creates and loads repository objects
IReposTypeInfo Contains the collection of definition objects that are associated with an information model's repository type library
IReposTypeInfo2 Allows classes, interfaces and relationships to be referred to by multiple names as aliases
IVersionAdminInfo2 Retains properties inherited from IVersionAdminInfo and sets or retrieves version comments
IViewInterfaceDef Defines a database view for all objects that implement a specific interface

See Also

ClassDef Class

InterfaceDef Object

ReposTypeLib Class

RTIM Classes