次の方法で共有


ErrorDirectiveTriviaSyntax.WithErrorKeyword(SyntaxToken) メソッド

定義

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ErrorDirectiveTriviaSyntax ^ WithErrorKeyword(Microsoft::CodeAnalysis::SyntaxToken errorKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.ErrorDirectiveTriviaSyntax WithErrorKeyword (Microsoft.CodeAnalysis.SyntaxToken errorKeyword);
member this.WithErrorKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ErrorDirectiveTriviaSyntax
Public Function WithErrorKeyword (errorKeyword As SyntaxToken) As ErrorDirectiveTriviaSyntax

パラメーター

errorKeyword
SyntaxToken

戻り値

適用対象