CriteriaOperator.And(CriteriaOperator, CriteriaOperator) Method

Returns the expression which groups two operands with logical AND.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Core.v19.2.dll

Declaration

public static CriteriaOperator And(
    CriteriaOperator left,
    CriteriaOperator right
)
Public Shared Function And(
    left As CriteriaOperator,
    right As CriteriaOperator
) As CriteriaOperator

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.

See Also