Description
ConditionSyntax
objects are syntax elements that correspond to comparison or logical expressions. For example:
x > y
or
x and y
You can create a ConditionSyntax
object instance using the Syntax.CreateCondition
method.
The ConditionSyntax
object provides three properties: OperatorType
to specify the operator type, Left
and Right
- to specify the expressions on both sides of the operator. (The logical NOT operator requires only the Right
expression).
Members
Example
For examples of using the ConditionSyntax
object, see Generating Comparison and Logical Expressions.
See Also
Syntax Object
CreateCondition Method
Script Extensions
Generating Comparison and Logical Expressions