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.v20.2.dll

Declaration

public BinaryOperator(
    CriteriaOperator opLeft,
    CriteriaOperator opRight,
    BinaryOperatorType type
)
Public Sub New(
    opLeft As CriteriaOperator,
    opRight As CriteriaOperator,
    type As BinaryOperatorType
)

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