共用方式為


ITypeLibInfo Interface

Definition

Provides information about the properties of the specified type library.

public interface class ITypeLibInfo
public interface class ITypeLibInfo
__interface ITypeLibInfo
[System.Runtime.InteropServices.Guid("378CD6B8-2EEF-40E7-ADF7-AAEDD435D100")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface ITypeLibInfo
[<System.Runtime.InteropServices.Guid("378CD6B8-2EEF-40E7-ADF7-AAEDD435D100")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type ITypeLibInfo = interface
Public Interface ITypeLibInfo
Attributes

Remarks

The ITypeLibInfo object controls information about the properties contained in the specified type library, such as its name, GUID, interfaces, location, and version. For example, by using these properties, you could add the methods of a specified interface to a project. See Implement Interface Wizard for an example.

Note

See How to: Interpret Visual C++ Wizard Model Examples for more information about how properties are called in both the HTML and the default.js files of a custom wizard.

Properties

Coclasses

Gets the project's coclasses as a collection object.

Enums

Gets the enumerations associated with the type library.

Guid

Gets or sets the GUID for the ITypeLibInfo object.

Interfaces

Gets the collection of interfaces for the type library.

LIBID

Gets the GUID of the type library.

Location

Gets or sets a string containing the location of the specified type library item.

MajorVersion

Gets or sets the major version of the type library.

MinorVersion

Gets or sets the minor version of the type library.

Name

Gets or sets the name of the object.

TypeInfos

Microsoft Internal Use Only.

Version

Gets or sets the version of the type library or control.

Methods

IsControl()

Indicates whether the type library describes ActiveX control objects.

Applies to