IObjectSpace.Evaluate(Type, CriteriaOperator, CriteriaOperator) Method

Evaluates the specified criteria for business objects of the given type.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll


object Evaluate(
    Type objectType,
    CriteriaOperator expression,
    CriteriaOperator criteria
Function Evaluate(
    objectType As Type,
    expression As CriteriaOperator,
    criteria As CriteriaOperator
) As Object


Type Name Description
Type objectType

A Type object that identifies the type of objects against which the expression will be evaluated.

CriteriaOperator expression

A CriteriaOperator object that specifies the expression to evaluate.

CriteriaOperator criteria

A CriteriaOperator object that specifies the filter criteria. The objects that match this criteria will be used to evaluate the expression.


Type Description

The value evaluated.


To construct expression and criteria, the static CriteriaOperator.Parse method can be used. It takes a string representation of the required expression and retrieves the CriteriaOperator object that corresponds to this expression.

See Also