Compartilhar via


VCWizCtlClass.AddSymbol Method

Adds the specified symbol to the symbol table.

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

Syntax

'Declaration
Public Overridable Sub AddSymbol ( _
    bstrSymbol As String, _
    varValue As Object, _
    bDisabled As Boolean _
)
public virtual void AddSymbol(
    string bstrSymbol,
    Object varValue,
    bool bDisabled
)
public:
virtual void AddSymbol(
    [InAttribute] String^ bstrSymbol, 
    [InAttribute] Object^ varValue, 
    [InAttribute] bool bDisabled
)
abstract AddSymbol : 
        bstrSymbol:string * 
        varValue:Object * 
        bDisabled:bool -> unit  
override AddSymbol : 
        bstrSymbol:string * 
        varValue:Object * 
        bDisabled:bool -> unit
public function AddSymbol(
    bstrSymbol : String, 
    varValue : Object, 
    bDisabled : boolean
)

Parameters

  • bstrSymbol
    Type: System.String

    Required. A string containing the symbol name.

  • varValue
    Type: System.Object

    Required. The variable value to assign to the symbol.

  • bDisabled
    Type: System.Boolean

    Optional. Specifies whether the symbol associated with a check box is selected by default. true if selected; false if not selected.

Implements

IVCWizCtlUI.AddSymbol(String, Object, Boolean)

.NET Framework Security

See Also

Reference

VCWizCtlClass Class

Microsoft.VisualStudio.VsWizard Namespace

Other Resources

Designing a Wizard

Visual C++ Extensibility Object Model