Delen via


ErrorDirectiveTriviaSyntax.WithErrorKeyword(SyntaxToken) Method

Definition

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

Parameters

errorKeyword
SyntaxToken

Returns

Applies to