共用方式為


IParamInfo Interface

Definition

Provides information about the properties of the specified parameters in a function or variable.

public interface class IParamInfo
public interface class IParamInfo
__interface IParamInfo
[System.Runtime.InteropServices.Guid("33201AF5-CD68-44AB-B4A1-279BDE05EE9F")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IParamInfo
[<System.Runtime.InteropServices.Guid("33201AF5-CD68-44AB-B4A1-279BDE05EE9F")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IParamInfo = interface
Public Interface IParamInfo
Attributes

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.

Note

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.

Properties

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.

Applies to