共用方式為


UndefDirectiveTriviaSyntax.Update Method

Definition

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

Parameters

hashToken
SyntaxToken
undefKeyword
SyntaxToken
endOfDirectiveToken
SyntaxToken
isActive
Boolean

Returns

Applies to