Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public IList GetObjects(
    Type objectType
)

#Parameters

Name Type Description
objectType Type

The type of the objects to be retrieved.

#Returns

Type Description
IList

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

#Remarks

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.

#Implements

See Also