A newer version of this page is available. Switch to the current version.

IObjectSpace.ApplyCriteria(Object, CriteriaOperator) Method

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.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