.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

BaseObjectSpace.GetObjects(Type) Method

Returns an IList collection of objects of the specified type, retrieved to the current Object Space.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll


public IList GetObjects(
    Type objectType
Public Function GetObjects(
    objectType As Type
) As IList


Name Type Description
objectType Type

The type of the objects to be retrieved.


Type Description

A IList collection that contains the persistent objects of the specified type.


To get objects of the specified type, this method invokes a protected virtual CreateCollection method that does nothing and returns null. So, the details on how the objects are retrieved depend on how the CreateCollection method is overridden in a particular descendant of the BaseObjectSpace class.


See Also