IfDirectiveTriviaSyntax.Update 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
Microsoft::CodeAnalysis::CSharp::Syntax::IfDirectiveTriviaSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken hashToken, Microsoft::CodeAnalysis::SyntaxToken ifKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ condition, Microsoft::CodeAnalysis::SyntaxToken endOfDirectiveToken, bool isActive, bool branchTaken, bool conditionValue);
public Microsoft.CodeAnalysis.CSharp.Syntax.IfDirectiveTriviaSyntax Update (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken ifKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax condition, Microsoft.CodeAnalysis.SyntaxToken endOfDirectiveToken, bool isActive, bool branchTaken, bool conditionValue);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * bool * bool * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.IfDirectiveTriviaSyntax
Public Function Update (hashToken As SyntaxToken, ifKeyword As SyntaxToken, condition As ExpressionSyntax, endOfDirectiveToken As SyntaxToken, isActive As Boolean, branchTaken As Boolean, conditionValue As Boolean) As IfDirectiveTriviaSyntax
参数
- hashToken
- SyntaxToken
- ifKeyword
- SyntaxToken
- condition
- ExpressionSyntax
- endOfDirectiveToken
- SyntaxToken
- isActive
- Boolean
- branchTaken
- Boolean
- conditionValue
- Boolean