Back to Devexpress

IObjectSpace.ApplyFilter(Object, CriteriaOperator) Method

expressappframework-devexpress-dot-expressapp-dot-iobjectspace-dot-applyfilter-x28-system-dot-object-devexpress-dot-data-dot-filtering-dot-criteriaoperator-x29.md

latest1.9 KB
Original Source

IObjectSpace.ApplyFilter(Object, CriteriaOperator) Method

Filters a particular collection on the client side.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
void ApplyFilter(
    object collection,
    CriteriaOperator filter
)
vb
Sub ApplyFilter(
    collection As Object,
    filter As CriteriaOperator
)

Parameters

NameTypeDescription
collectionObject

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

IObjectSpace Interface

IObjectSpace Members

DevExpress.ExpressApp Namespace