Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

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

Declaration

void ApplyCriteria(
    object collection,
    CriteriaOperator criteria
)

Parameters

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.

Remarks

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