次の方法で共有


PragmaWarningDirectiveTriviaSyntax.WithDisableOrRestoreKeyword メソッド

定義

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

パラメーター

disableOrRestoreKeyword
SyntaxToken

戻り値

適用対象