Поделиться через


ITypeLibInfo Interface

Provides information about the properties of the specified type library.

Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

Syntax

'Declaration
<GuidAttribute("238A1676-66D4-4FC0-8FF2-AFCBCC79981B")> _
Public Interface ITypeLibInfo
[GuidAttribute("238A1676-66D4-4FC0-8FF2-AFCBCC79981B")]
public interface ITypeLibInfo
[GuidAttribute(L"238A1676-66D4-4FC0-8FF2-AFCBCC79981B")]
public interface class ITypeLibInfo
[<GuidAttribute("238A1676-66D4-4FC0-8FF2-AFCBCC79981B")>]
type ITypeLibInfo =  interface end
public interface ITypeLibInfo

The ITypeLibInfo type exposes the following members.

Properties

  Name Description
Public property Coclasses Gets the project's coclasses as a collection object.
Public property Enums Gets the enumerations associated with the type library.
Public property Guid Gets or sets the GUID for the ITypeLibInfo object.
Public property Interfaces Gets the collection of interfaces for the type library.
Public property LIBID Gets the GUID of the type library.
Public property Location Gets or sets a string containing the location of the specified type library item.
Public property MajorVersion Gets or sets the major version of the type library.
Public property MinorVersion Gets or sets the minor version of the type library.
Public property Name Gets or sets the name of the object.
Public property TypeInfos Infrastructure. Microsoft Internal Use Only.
Public property Version Gets or sets the version of the type library or control.

Top

Methods

  Name Description
Public method IsControl Indicates whether the type library describes ActiveX control objects.

Top

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.

See Also

Reference

Microsoft.VisualStudio.VsWizard Namespace