次の方法で共有


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