共用方式為


SyntaxFactory.EqualsValue Method

Definition

Overloads

EqualsValue(ExpressionSyntax)

Represents an "= initializer" clause in a declaration for a variable, parameter or automatic property.

EqualsValue(SyntaxToken, ExpressionSyntax)

Represents an "= initializer" clause in a declaration for a variable, parameter or automatic property.

EqualsValue(ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Represents an "= initializer" clause in a declaration for a variable, parameter or automatic property.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::EqualsValueSyntax ^ EqualsValue(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ value);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.EqualsValueSyntax EqualsValue (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax value);
static member EqualsValue : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EqualsValueSyntax
Public Shared Function EqualsValue (value As ExpressionSyntax) As EqualsValueSyntax

Parameters

value
ExpressionSyntax

The expression used as the initial value.

Returns

Applies to

EqualsValue(SyntaxToken, ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Represents an "= initializer" clause in a declaration for a variable, parameter or automatic property.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::EqualsValueSyntax ^ EqualsValue(Microsoft::CodeAnalysis::SyntaxToken equalsToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ value);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.EqualsValueSyntax EqualsValue (Microsoft.CodeAnalysis.SyntaxToken equalsToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax value);
static member EqualsValue : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EqualsValueSyntax
Public Shared Function EqualsValue (equalsToken As SyntaxToken, value As ExpressionSyntax) As EqualsValueSyntax

Parameters

equalsToken
SyntaxToken

The "=" token.

value
ExpressionSyntax

The expression used as the initial value.

Returns

Applies to