Skip to main content
.NET 8.0+

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