Udostępnij za pośrednictwem


ElseClauseSyntax.WithElseKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ElseClauseSyntax ^ WithElseKeyword(Microsoft::CodeAnalysis::SyntaxToken elseKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.ElseClauseSyntax WithElseKeyword (Microsoft.CodeAnalysis.SyntaxToken elseKeyword);
member this.WithElseKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ElseClauseSyntax
Public Function WithElseKeyword (elseKeyword As SyntaxToken) As ElseClauseSyntax

Parameters

elseKeyword
SyntaxToken

Returns

Applies to