Skip to main content
.NET 8.0+

IObjectSpace.IsCollectionLoaded(Object) Method

Indicates whether a particular collection is loaded with objects from the database.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

bool IsCollectionLoaded(
    object collection
)

Parameters

Name Type Description
collection Object

An object representing the collection for which it must be determined whether it is loaded with objects from the database.

Returns

Type Description
Boolean

true, if the specified collection is loaded with objects from the database; otherwise, false.

Remarks

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. This method is intended to request whether the passed collection has objects loaded.

See Also