Sdílet prostřednictvím


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 _
)
'Usage
Dim instance As VCWizCtlClass
Dim bstrSymbol As String
Dim varValue As Object
Dim bDisabled As Boolean

instance.AddSymbol(bstrSymbol, varValue, _
    bDisabled)
public virtual void AddSymbol(
    string bstrSymbol,
    Object varValue,
    bool bDisabled
)
public:
virtual void AddSymbol(
    [InAttribute] String^ bstrSymbol, 
    [InAttribute] Object^ varValue, 
    [InAttribute] bool bDisabled
)
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)

Permissions

See Also

Concepts

Designing a Wizard

Visual C++ Extensibility Object Model

Reference

VCWizCtlClass Class

VCWizCtlClass Members

Microsoft.VisualStudio.VsWizard Namespace