PragmaWarningDirectiveTriviaSyntax.WithPragmaKeyword(SyntaxToken) 方法

定义

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::PragmaWarningDirectiveTriviaSyntax ^ WithPragmaKeyword(Microsoft::CodeAnalysis::SyntaxToken pragmaKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.PragmaWarningDirectiveTriviaSyntax WithPragmaKeyword (Microsoft.CodeAnalysis.SyntaxToken pragmaKeyword);
member this.WithPragmaKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.PragmaWarningDirectiveTriviaSyntax
Public Function WithPragmaKeyword (pragmaKeyword As SyntaxToken) As PragmaWarningDirectiveTriviaSyntax

参数

pragmaKeyword
SyntaxToken

返回

适用于