Skip to main content
A newer version of this page is available. .

XPCursor Members

A pageable collection of persistent objects.

Constructors

Name Description
XPCursor(Session, XPClassInfo, CriteriaOperator, SortProperty[]) Initializes a new instance of the XPCursor class with the specified Session and criteria-specific options.
XPCursor(Session, XPClassInfo, CriteriaOperator) Initializes a new instance of the XPCursor class
XPCursor(Session, XPClassInfo, IList) Initializes a new instance of the XPCursor class and populates it with the objects whose Oid property’s value is contained within the keyList.
XPCursor(Session, XPClassInfo) Initializes a new instance of the XPCursor class with the specified XPCursor.Session and XPCollection.ObjectClassInfo properties.
XPCursor(Session, Type, CriteriaOperator, SortProperty[]) Initializes a new instance of the XPCursor class with the specified settings.
XPCursor(Session, Type, IList) Initializes a new instance of the XPCursor class and populates it with the objects whose Oid property’s value is contained within the keyList.
XPCursor(Session, Type) Initializes a new instance of the XPCursor class.
XPCursor(Type, CriteriaOperator, SortProperty[]) Initializes a new instance of the XPCursor class with default Session and criteria-specific options.
XPCursor(Type) Initializes a new instance of the XPCursor class with the default Session.

Properties

Name Description
Count Gets the number of persistent objects within the collection.
ObjectClassInfo Gets the metadata information for the persistent objects retrieved by the collection.
PageSize Gets or sets the maximum number of persistent objects that can be contained in a single page.
SelectDeleted Gets or sets whether deleted objects are retrieved by the XPCursor the next time it is reloaded.
Session Gets the session which is used to load and save persistent objects.
Sorting Provides access to the collection whose elements identify the sorted columns in a data store.
TopReturnedObjects Gets or sets the maximum number of objects retrieved by the XPCursor collection.

Methods

Name Description
CopyTo(Array, Int32) Copies all persistent objects which are stored within the current collection to the specified array starting at the specified index.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetEnumerator() Returns an IEnumerator for the collection.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also