Skip to main content
.NET 8.0+

XPCursor.TopReturnedObjects Property

Gets or sets the maximum number of objects retrieved by the XPCursor collection.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public int TopReturnedObjects { get; set; }

Property Value

Type Description
Int32

An integer value which specifies the maximum number of objects retrieved by the collection. A 0 value indicates that all objects which match the criteria and sort order will be retrieved.

Remarks

If the property’s value is greater than 0, only the first TopReturnedObjects objects that match the collection’s criteria and sort order are loaded. Furthermore, the maximum number of objects that can be loaded at a time is specified by the XPCursor.PageSize property.

See Also