GroupOperator.Combine(GroupOperatorType, IEnumerable<CriteriaOperator>) Method

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

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v20.1.dll

Declaration

public static CriteriaOperator Combine(
    GroupOperatorType opType,
    IEnumerable<CriteriaOperator> operands
)
Public Shared Function Combine(
    opType As GroupOperatorType,
    operands As IEnumerable(Of CriteriaOperator)
) As CriteriaOperator

Parameters

Name Type Description
opType GroupOperatorType

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

operands IEnumerable<CriteriaOperator>

A list of operands to be grouped.

Returns

Type Description
CriteriaOperator

A CriteriaOperator object representing the expression which groups the specified operands.

See Also