NotEqualExpression
Evaluates whether the left operand is not equal to the right operand; implements the not-equal (<>) comparison operator.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class NotEqualExpression : ComparisonOperatorExpression
Inheritance: objectRadExpressionOperatorExpressionBinaryOperatorExpression<ConstantExpression>ComparisonOperatorExpressionNotEqualExpression...
Inherited Members
Constructors
Initializes a new instance of the NotEqualExpression class with the specified left and right operands.
public NotEqualExpression(RadExpression left, RadExpression right, Workbook workbook = null)
The left.
rightRadExpressionThe right.
workbookWorkbookThe workbook.
Methods
Compares two boolean expressions and returns true if they have different values using XOR logic.
protected override bool CompareBooleanExpressions(BooleanExpression left, BooleanExpression right)
The left.
rightBooleanExpressionThe right.
Returns:Boolean result.
Overrides:
Compares expressions of different types and returns true unless comparing equivalent values like zero and empty, applying special rules for boolean and empty operands.
protected override bool CompareDifferentTypeExpressions(ConstantExpression leftOperandValue, ConstantExpression rightOperandValue)
The left operand value.
rightOperandValueConstantExpressionThe right operand value.
Returns:Boolean result.
Overrides:
Compares two empty expressions and always returns false since empty values are equal.
protected override bool CompareEmptyExpressions(EmptyExpression left, EmptyExpression right)
The left operand value.
rightEmptyExpressionThe right operand value.
Returns:Boolean result.
Overrides:
Compares two number expressions and returns true if the values are not equal.
protected override bool CompareNumberExpressions(NumberExpression left, NumberExpression right)
The left.
rightNumberExpressionThe right.
Returns:Boolean result.
Overrides:
Compares two string expressions and returns true if they are not equal using case-insensitive comparison.
protected override bool CompareStringExpressions(StringExpression left, StringExpression right)
The left.
rightStringExpressionThe right.
Returns:Boolean result.
Overrides:
Properties
Gets metadata about the not-equal operator including its precedence and associativity.
public override OperatorInfo OperatorInfo { get; }
The operator info as OperatorInfo.
Overrides: