IParamInfo Interface
Provides information about the properties of the specified parameters in a function or variable.
Namespace: Microsoft.VisualStudio.VsWizard
Assembly: Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)
Syntax
'宣告
<GuidAttribute("B0998D0B-0310-47B2-BFD1-60E3F6140396")> _
Public Interface IParamInfo
[GuidAttribute("B0998D0B-0310-47B2-BFD1-60E3F6140396")]
public interface IParamInfo
[GuidAttribute(L"B0998D0B-0310-47B2-BFD1-60E3F6140396")]
public interface class IParamInfo
[<GuidAttribute("B0998D0B-0310-47B2-BFD1-60E3F6140396")>]
type IParamInfo = interface end
public interface IParamInfo
The IParamInfo type exposes the following members.
Properties
Name | Description | |
---|---|---|
Attribute | Gets or sets a pointer to an eParamAttr value that specifies the type of an attribute parameter. | |
Name | Gets or sets the name of the object. | |
TypeString | Gets or sets the type of the parent object by using a string representation of the type. | |
VariantType | Gets or sets the parameter's variant type. | |
VTSType | Gets or sets the VTS type of the parameter. |
Top
Remarks
The IParamInfo object controls information about the properties contained in a specified parameter, such as its name, type, variant type, and whether it is a VTS parameter. You can display a parameter's properties in a custom wizard that adds a function or a variable and its parameters to a project. Such a wizard must understand the parts of the function or variable and its parameters, and it must then parse them within the wizard. For an example of a Visual Studio wizard that uses the IParamInfo object, 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.