編輯

共用方式為


CodeVariableReferenceExpression Constructors

Definition

Initializes a new instance of the CodeVariableReferenceExpression class.

Overloads

CodeVariableReferenceExpression()

Initializes a new instance of the CodeVariableReferenceExpression class.

CodeVariableReferenceExpression(String)

Initializes a new instance of the CodeVariableReferenceExpression class using the specified local variable name.

CodeVariableReferenceExpression()

Source:
CodeVariableReferenceExpression.cs
Source:
CodeVariableReferenceExpression.cs
Source:
CodeVariableReferenceExpression.cs
Source:
CodeVariableReferenceExpression.cs

Initializes a new instance of the CodeVariableReferenceExpression class.

public:
 CodeVariableReferenceExpression();
public CodeVariableReferenceExpression ();
Public Sub New ()

Applies to

CodeVariableReferenceExpression(String)

Source:
CodeVariableReferenceExpression.cs
Source:
CodeVariableReferenceExpression.cs
Source:
CodeVariableReferenceExpression.cs
Source:
CodeVariableReferenceExpression.cs

Initializes a new instance of the CodeVariableReferenceExpression class using the specified local variable name.

public:
 CodeVariableReferenceExpression(System::String ^ variableName);
public CodeVariableReferenceExpression (string variableName);
new System.CodeDom.CodeVariableReferenceExpression : string -> System.CodeDom.CodeVariableReferenceExpression
Public Sub New (variableName As String)

Parameters

variableName
String

The name of the local variable to reference.

See also

Applies to