共用方式為


BadDirectiveTriviaSyntax.Update Method

Definition

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

Parameters

hashToken
SyntaxToken
identifier
SyntaxToken
endOfDirectiveToken
SyntaxToken
isActive
Boolean

Returns

Applies to