Partager via


ElseDirectiveTriviaSyntax.WithElseKeyword(SyntaxToken) Method

Definition

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

Parameters

elseKeyword
SyntaxToken

Returns

Applies to