Partager via


VariableNameEqualsSyntax.Update 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::VariableNameEqualsSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::ModifiedIdentifierSyntax ^ identifier, Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleAsClauseSyntax ^ asClause, Microsoft::CodeAnalysis::SyntaxToken equalsToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.VariableNameEqualsSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.ModifiedIdentifierSyntax identifier, Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleAsClauseSyntax asClause, Microsoft.CodeAnalysis.SyntaxToken equalsToken);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.ModifiedIdentifierSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleAsClauseSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.VariableNameEqualsSyntax
Public Function Update (identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, equalsToken As SyntaxToken) As VariableNameEqualsSyntax

Parameters

identifier
ModifiedIdentifierSyntax

The value for the Identifier property.

asClause
SimpleAsClauseSyntax

The value for the AsClause property.

equalsToken
SyntaxToken

The value for the EqualsToken property.

Returns

Applies to