Skip to main content

BinaryOperator(CriteriaOperator, CriteriaOperator, BinaryOperatorType) Constructor

Initializes a new instance of the BinaryOperator class with the specified left and right operands and binary operator type.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public BinaryOperator(
    CriteriaOperator opLeft,
    CriteriaOperator opRight,
    BinaryOperatorType type
)

Parameters

Name Type Description
opLeft CriteriaOperator

A CriteriaOperator descendant which represents the expression for the first operand. This value is assigned to the BinaryOperator.LeftOperand property.

opRight CriteriaOperator

A CriteriaOperator descendant which represents the expression for the second operand. This value is assigned to the BinaryOperator.RightOperand property.

type BinaryOperatorType

A BinaryOperatorType enumeration value which specifies the type of the binary operator. This value is assigned to the BinaryOperator.OperatorType property.

See Also