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.1.dll

Declaration

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

Parameters

Type Name Description
Object collection

An Object that is the collection to be filtered.

CriteriaOperator criteria

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