.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

XPCursor Class

A pageable collection of persistent objects.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll


public class XPCursor :
Public Class XPCursor
    Implements ICollection,


The XPCursor class provides a pageable collection object that can be used to retrieve and enumerate persistent objects. Unlike the XPCollection, the XPCursor does not load the complete set of collection items along with the object properties all at once. It splits the collection into several subsets or "pages", each one individually available at a time, thus reducing the amount of memory used to retrieve and enumerate all the objects. The number of objects stored in an individual collection page is specified by the XPCursor.PageSize value.

For detailed information on pageable collections, see Pageable Collection.


See Also