Freigeben über


PragmaWarningDirectiveTriviaSyntax.WithPragmaKeyword(SyntaxToken) Method

Definition

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

Parameters

pragmaKeyword
SyntaxToken

Returns

Applies to