Skip to main content
.NET 8.0+

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.CanApplyCriteria(Type) Method

Indicates whether collections of a particular type can be filtered on the server side.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

bool CanApplyCriteria(
    Type collectionType
)

#Parameters

Name Type Description
collectionType Type

A Type object specifying the type of collections whose server-side filtering capability must be determined.

#Returns

Type Description
Boolean

true, if collections of the specified type can be filtered on the server side; otherwise, false.

#Remarks

In this method, check whether the collection type passed as the collectionType parameter supports applying criteria. 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