Skip to main content
A newer version of this page is available. .
All docs
V20.2
.NET Framework 4.5.2+

CompositeObjectSpace.SetTopReturnedObjectsCount(Object, Int32) Method

Sets the maximum number of objects that the specified collection can retrieve from a data store.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public override void SetTopReturnedObjectsCount(
    object collection,
    int topReturnedObjectsCount
)

Parameters

Name Type Description
collection Object

A collection whose maximum number of retrieved objects this method returns.

topReturnedObjectsCount Int32

The maximum number of objects that the specified collection can retrieve from the database. 0 indicates that the collection can retrieve all objects.

See Also