This topic has not yet been rated - Rate this topic

IVarInfo Interface

Provides information about the properties of the specified variable.

Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)
[GuidAttribute("84CC10F0-E424-4D1B-95A6-E622285CD525")]
public interface IVarInfo

The IVarInfo type exposes the following members.

  NameDescription
Public propertyDispIDGets or sets the variable or function dispatch ID.
Public propertyHelpStringGets or sets the variable or function Help string.
Public propertyNameGets or sets the name of the object.
Public propertyTypeGets or sets the variable's type.
Public propertyVariantTypeGets or sets the variable's variant type.
Public propertyVTSTypeGets or sets the VTS type of the variable.
Top

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.

NoteNote

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.