Partilhar via


ElseStatementSyntax.Update(SyntaxToken) 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::ElseStatementSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken elseKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseStatementSyntax Update (Microsoft.CodeAnalysis.SyntaxToken elseKeyword);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseStatementSyntax
Public Function Update (elseKeyword As SyntaxToken) As ElseStatementSyntax

Parameters

elseKeyword
SyntaxToken

The value for the ElseKeyword property.

Returns

Applies to