Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IObjectSpace.ApplyFilter(Object, CriteriaOperator) Method

Filters a particular collection on the client side.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

void ApplyFilter(
    object collection,
    CriteriaOperator filter
)

#Parameters

Name Type Description
collection Object

A collection to be filtered.

filter CriteriaOperator

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

#Remarks

While the IObjectSpace.ApplyCriteria method applies criteria used to filter objects on the storage side, the ApplyFilter method is intended to filter these objects again, after they are retrieved to the collection. Implement this method if the collection type, with which your Object Space works, supports filtering of this kind.

See Also