.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IObjectSpace.ApplyCriteria(Object, CriteriaOperator) Method

Filters the specified collection according to the specified criteria on the server side.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll


void ApplyCriteria(
    object collection,
    CriteriaOperator criteria
Sub ApplyCriteria(
    collection As Object,
    criteria As CriteriaOperator


Name Type Description
collection Object

An Object that is the collection to be filtered.

criteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object that specifies the criteria used to filter objects on the server side.


This method is intended for assigning the criteria specified by the criteria parameter to the collection specified by the collection parameter. As a rule, an Object Space works with particular types of collections. These collection types are the ones that are used for Client and Server modes.

See Also