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.v14.2.dll

#Declaration

public static CriteriaOperator And(
    CriteriaOperator left,
    CriteriaOperator right
)

#Parameters

Name Type Description
left CriteriaOperator

A CriteriaOperator object which is the first operand.

right CriteriaOperator

A CriteriaOperator object which is the second operand.

#Returns

Type Description
CriteriaOperator

A CriteriaOperator object, which is an 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