DefineDirectiveTriviaSyntax.Update 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
Microsoft::CodeAnalysis::CSharp::Syntax::DefineDirectiveTriviaSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken hashToken, Microsoft::CodeAnalysis::SyntaxToken defineKeyword, Microsoft::CodeAnalysis::SyntaxToken name, Microsoft::CodeAnalysis::SyntaxToken endOfDirectiveToken, bool isActive);
public Microsoft.CodeAnalysis.CSharp.Syntax.DefineDirectiveTriviaSyntax Update (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken defineKeyword, 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.DefineDirectiveTriviaSyntax
Public Function Update (hashToken As SyntaxToken, defineKeyword As SyntaxToken, name As SyntaxToken, endOfDirectiveToken As SyntaxToken, isActive As Boolean) As DefineDirectiveTriviaSyntax
參數
- hashToken
- SyntaxToken
- defineKeyword
- SyntaxToken
- name
- SyntaxToken
- endOfDirectiveToken
- SyntaxToken
- isActive
- Boolean