共用方式為


ErrorDirectiveTriviaSyntax.Update Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ErrorDirectiveTriviaSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken hashToken, Microsoft::CodeAnalysis::SyntaxToken errorKeyword, Microsoft::CodeAnalysis::SyntaxToken endOfDirectiveToken, bool isActive);
public Microsoft.CodeAnalysis.CSharp.Syntax.ErrorDirectiveTriviaSyntax Update (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken errorKeyword, Microsoft.CodeAnalysis.SyntaxToken endOfDirectiveToken, bool isActive);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.ErrorDirectiveTriviaSyntax
Public Function Update (hashToken As SyntaxToken, errorKeyword As SyntaxToken, endOfDirectiveToken As SyntaxToken, isActive As Boolean) As ErrorDirectiveTriviaSyntax

Parameters

hashToken
SyntaxToken
errorKeyword
SyntaxToken
endOfDirectiveToken
SyntaxToken
isActive
Boolean

Returns

Applies to