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


IVarInfo Interface

Provides information about the properties of the specified variable.

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

Syntax

'Декларация
<GuidAttribute("79D6E9FF-577C-4961-90C8-4407C597767C")> _
Public Interface IVarInfo
[GuidAttribute("79D6E9FF-577C-4961-90C8-4407C597767C")]
public interface IVarInfo
[GuidAttribute(L"79D6E9FF-577C-4961-90C8-4407C597767C")]
public interface class IVarInfo
[<GuidAttribute("79D6E9FF-577C-4961-90C8-4407C597767C")>]
type IVarInfo =  interface end
public interface IVarInfo

The IVarInfo type exposes the following members.

Properties

  Name Description
Public property DispID Gets or sets the variable or function dispatch ID.
Public property HelpString Gets or sets the variable or function Help string.
Public property Name Gets or sets the name of the object.
Public property Type Gets or sets the variable's type.
Public property VariantType Gets or sets the variable's variant type.
Public property VTSType Gets or sets the VTS type of the variable.

Top

Remarks

The IVarInfo object controls information about the properties contained in the specified variable, such as its name and dispatch identifier, any associated help string, its type and variant type, and whether it is a VTS variable. You can display a variable's properties in a custom wizard that adds variables to a project. Such a wizard must understand the parts of the variable and parse them within the wizard. For an example of a Visual Studio wizard that uses IVarInfo, see Add Member Variable Wizard.

Примечание

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

See Also

Reference

Microsoft.VisualStudio.VsWizard Namespace