Adds the specified symbol to the symbol table.
Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)
Syntax
声明
Sub AddSymbol ( _
    bstrSymbol As String, _
    varValue As Object, _
    bDisabled As Boolean _
)
void AddSymbol(
    string bstrSymbol,
    Object varValue,
    bool bDisabled
)
void AddSymbol(
    [InAttribute] String^ bstrSymbol, 
    [InAttribute] Object^ varValue, 
    [InAttribute] bool bDisabled
)
abstract AddSymbol : 
        bstrSymbol:string * 
        varValue:Object * 
        bDisabled:bool -> unit 
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.