Back to Devexpress

IObjectSpace.CanApplyCriteria(Type) Method

expressappframework-devexpress-dot-expressapp-dot-iobjectspace-dot-canapplycriteria-x28-system-dot-type-x29.md

latest2.3 KB
Original Source

IObjectSpace.CanApplyCriteria(Type) Method

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

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
bool CanApplyCriteria(
    Type collectionType
)
vb
Function CanApplyCriteria(
    collectionType As Type
) As Boolean

Parameters

NameTypeDescription
collectionTypeType

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

|

Returns

TypeDescription
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

EFCoreObjectSpace.CanApplyCriteria(Type)

XPObjectSpace.CanApplyCriteria(Type)

IObjectSpace Interface

IObjectSpace Members

DevExpress.ExpressApp Namespace