Skip to main content
A newer version of this page is available. .

IObjectSpace.CanApplyCriteria(Type) Method

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

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