XPBaseCollection.TopReturnedObjects Property
Gets or sets the maximum number of objects retrieved by the collection from a data store.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Int32 | 0 | An integer that specifies the maximum number of objects that will be retrieved by the collection from a data store. 0 indicates that all objects which match the criteria will be retrieved. |
#Remarks
If this property’s value is greater than 0, then the collection retrieves only the first TopReturnedObjects objects which match the collection’s XPBaseCollection.Criteria.
Note
Use the Top
#Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the TopReturnedObjects property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.