Export (0) Print
Expand All

ITypeLibInfo Object

Visual Studio .NET 2003

The ITypeLibInfo object provides information about the properties of the specified type library.

[Visual Basic .NET]
Public Interface ITypeLibInfo
   Inherits IDispatch
[Visual Basic 6]
Class ITypeLibInfo
[C++]
interface ITypeLibInfo : IDispatch
[C#]
public interface ITypeLibInfo : IDispatch
[JScript .NET]
public interface ITypeLibInfo extends IDispatch

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, using these properties, you could add the methods of a specified interface to a project. See the Visual Studio Implement Interface Wizard for an example.

Note   See Interpreting 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.

Requirements

Namespace: VCWIZLib

File: vcwiz.dll

Example

// From Visual Studio's Implement Interface Wizard

function AddTypeLibOption(oTypeLibsSelect, oTypeLib, strVersion)
{
    var oOption = document.createElement("OPTION");
   oOption.text = oTypeLib.Name + "<" + (strVersion.length ? strVersion : "1.0") + ">";
   oOption.value = oTypeLib.Location;
   oTypeLibsSelect.add(oOption);
}

See Also

ITypeLibInfo Object Properties, Methods, and Events | Designing a Wizard | Visual C++ Extensibility Object Model

Show:
© 2014 Microsoft