Skip to main content
.NET Framework 4.6.2+

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