Share via


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

Parameters

elseKeyword
SyntaxToken

The value for the ElseKeyword property.

Returns

Applies to