TernaryExpressionAst Constructor
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.
Initializes a new instance of the a ternary expression.
public TernaryExpressionAst (System.Management.Automation.Language.IScriptExtent extent, System.Management.Automation.Language.ExpressionAst condition, System.Management.Automation.Language.ExpressionAst ifTrue, System.Management.Automation.Language.ExpressionAst ifFalse);
new System.Management.Automation.Language.TernaryExpressionAst : System.Management.Automation.Language.IScriptExtent * System.Management.Automation.Language.ExpressionAst * System.Management.Automation.Language.ExpressionAst * System.Management.Automation.Language.ExpressionAst -> System.Management.Automation.Language.TernaryExpressionAst
Public Sub New (extent As IScriptExtent, condition As ExpressionAst, ifTrue As ExpressionAst, ifFalse As ExpressionAst)
Parameters
- extent
- IScriptExtent
The extent of the expression.
- condition
- ExpressionAst
The condition operand.
- ifTrue
- ExpressionAst
The if clause.
- ifFalse
- ExpressionAst
The else clause.