IReposTypeLib Interface

See Also

There is one Microsoft® Repository type library for every information model contained in the repository. Each information model provides a logical grouping of all of the type definitions related to a particular tool (or tool set).

To add a new Repository type library to the repository, use the IManageReposTypeLib interface.

When to Use

Use the IReposTypeLib interface to:

Properties

Property Description
TypeLibID The global identifier for the Repository type library.

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.

IReposTypeLib Method Description
CreateClassDef Creates a new class definition object.
CreateInterfaceDef Creates a new interface definition object.
CreateRelationshipDef Creates a new relationship definition object.

Collections

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.

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.