Skip to main content
.NET Framework 4.5.2+

BaseObjectSpace.CreateCollection(Type) Method

Creates and initializes a collection of objects of the specified type.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.2.dll

NuGet Package: DevExpress.ExpressApp


public IList CreateCollection(
    Type objectType


Name Type Description
objectType Type

The type of objects to include in the collection.


Type Description

A IList collection that includes objects of the specified type.


Use this method to create a collection of objects of the specified type. This method calls a protected virtual method, CreateCollection, which must be overridden in the BaseObjectSpace class descendants.

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

See Also