Skip to main content

CriteriaOperator.And(CriteriaOperator, CriteriaOperator) Method

Returns the expression which groups two operands with logical AND.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public static CriteriaOperator And(
    CriteriaOperator left,
    CriteriaOperator right
)

Parameters

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

Remarks

If one of the specified operands is null (Nothing in Visual Basic), the And method returns another operand. For example, if the first operand is null (Nothing in Visual Basic), the And method returns the second operand.

The following code snippets (auto-collected from DevExpress Examples) contain references to the And(CriteriaOperator, 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