The requested page is not available for the requested platform. You are viewing the content for Default platform.

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

Declaration

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

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