Skip to main content

CriteriaOperator.Or(IEnumerable<CriteriaOperator>) Method

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

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v22.2.dll

NuGet Package: DevExpress.Data

Declaration

public static CriteriaOperator Or(
    IEnumerable<CriteriaOperator> operands
)

Parameters

Name Type Description
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 with logical OR.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Or(IEnumerable<CriteriaOperator>) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also