Partilhar via


IfDirectiveTriviaSyntax.WithIfKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::IfDirectiveTriviaSyntax ^ WithIfKeyword(Microsoft::CodeAnalysis::SyntaxToken ifKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.IfDirectiveTriviaSyntax WithIfKeyword (Microsoft.CodeAnalysis.SyntaxToken ifKeyword);
member this.WithIfKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.IfDirectiveTriviaSyntax
Public Function WithIfKeyword (ifKeyword As SyntaxToken) As IfDirectiveTriviaSyntax

Parameters

ifKeyword
SyntaxToken

Returns

Applies to