IfDirectiveTriviaSyntax.Update Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- hashToken
- SyntaxToken
- ifKeyword
- SyntaxToken
- condition
- ExpressionSyntax
- endOfDirectiveToken
- SyntaxToken
- isActive
- Boolean
- branchTaken
- Boolean
- conditionValue
- Boolean
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.