다음을 통해 공유


PragmaWarningDirectiveTriviaSyntax.WithWarningKeyword(SyntaxToken) 메서드

정의

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

매개 변수

warningKeyword
SyntaxToken

반환

적용 대상