Skip to main content
.NET Framework 4.5.2+

IObjectSpace.Evaluate(Type, CriteriaOperator, CriteriaOperator) Method

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.2.dll

NuGet Package: DevExpress.ExpressApp


object Evaluate(
    Type objectType,
    CriteriaOperator expression,
    CriteriaOperator criteria


Name Type Description
objectType Type

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

expression CriteriaOperator

A CriteriaOperator object that specifies the expression to evaluate.

criteria CriteriaOperator

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Evaluate(Type, CriteriaOperator, CriteriaOperator) method.


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