IReposTypeInfo Interface

Meta Data Services Programming

Meta Data Services Programming

IReposTypeInfo Interface

This interface relates class, interface, and relationship definition objects to repository type libraries.

When to Use

Use the IReposTypeInfo interface to:

  • Determine which repository type libraries contain a particular class, interface, or relationship type.

  • Determine what collection types are associated with a particular relationship type.
Methods
IUnknown method Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments the reference count.
Release Decrements the reference count.

IDispatch method Description
GetIDsOfNames Maps a single member and a set of argument names to a corresponding set of dispatch identifiers.
GetTypeInfo Retrieves a type information object, which can be used to get the type information for an interface.
GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1).
Invoke Provides access to properties and methods exposed by an Automation object.

IRepositoryDispatch method
Description
get_Properties Retrieves the IReposProperties interface pointer. The IReposProperties interface provides access to the Properties collection.

Collections
Collection Description
ItemInCollections The origin and destination collection types that are connected to a relationship definition object.
ReposTypeLibScopes The collection of repository type libraries that contain a particular class, interface, or relationship type.

See Also

ClassDef Class

InterfaceDef Class

RelationshipDef Class