共用方式為


EqualsValueSyntax.Update(SyntaxToken, ExpressionSyntax) Method

Definition

Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.

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

Parameters

equalsToken
SyntaxToken

The value for the EqualsToken property.

value
ExpressionSyntax

The value for the Value property.

Returns

Applies to