共用方式為


IVCWizCtlUI.AddSymbol Method

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

See Also

Reference

IVCWizCtlUI Interface

Microsoft.VisualStudio.VsWizard Namespace