Skip to main content
.NET Framework 4.5.2+

IObjectSpace.CreateServerCollection(Type, CriteriaOperator) Method

Creates a Server mode collection of objects specified by the objectType parameter.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.2.dll

NuGet Package: DevExpress.ExpressApp


object CreateServerCollection(
    Type objectType,
    CriteriaOperator criteria


Name Type Description
objectType Type

The type of persistent objects to include in the collection.

criteria CriteriaOperator

The DevExpress.Data.Filtering.CriteriaOperator that specifies the criteria for object selection in a data store.


Type Description

A server collection that includes the persistent objects of the specified type. In addition, only objects that satisfy the specified criteria will be retrieved to this collection.


The newly created collection uses the current Object Space to load and save persistent objects.

See Also