Skip to main content

GroupOperator.Combine(GroupOperatorType, CriteriaOperator, CriteriaOperator) Method

Returns the expression which groups two operands with logical AND or OR.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public static CriteriaOperator Combine(
    GroupOperatorType opType,
    CriteriaOperator left,
    CriteriaOperator right
)

Parameters

Name Type Description
opType GroupOperatorType

A GroupOperatorType enumeration value that specifies the type of the group operator.

left CriteriaOperator

A CriteriaOperator object which represents the first operand.

right CriteriaOperator

A CriteriaOperator object which represents the second operand.

Returns

Type Description
CriteriaOperator

A CriteriaOperator object representing the expression which groups two operands.

See Also