Skip to main content
.NET Framework 4.5.2+

XPCollection Methods

The collection of persistent objects that implements delayed loading and can serve as a data source for a data-aware control.
Name Description
Add(Object) Adds the specified persistent object to the XPCollection.
AddRange(ICollection) Adds each element from a specified collection of persistent objects to the XPCollection.
BaseAdd(Object) Adds the specified persistent object to the XPBaseCollection. Inherited from XPBaseCollection.
BaseAddRange(ICollection) Adds each element from a specified collection of persistent objects to the XPBaseCollection. Inherited from XPBaseCollection.
BaseIndexer(Int32) Gets the object at the specified index. Inherited from XPBaseCollection.
BaseIndexOf(Object) Determines the index of the specified object in the XPBaseCollection. Inherited from XPBaseCollection.
BaseRemove(Object) Removes the specified persistent object from the XPBaseCollection. Inherited from XPBaseCollection.
BaseRemoveAsync(Object, CancellationToken) Asynchronously removes the specified persistent object from the XPBaseCollection. Inherited from XPBaseCollection.
BeginLoad() Starts the loading process. Inherited from XPBaseCollection.
BeginLoad(Boolean) Starts the loading process. Inherited from XPBaseCollection.
BeginLoadAsync(Boolean, CancellationToken) Inherited from XPBaseCollection.
BeginLoadAsync(CancellationToken) Inherited from XPBaseCollection.
Dispose() Releases all resources used by the Component. Inherited from Component.
EndLoad(IEnumerable) Ends the loading process. Inherited from XPBaseCollection.
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.
EvaluateDatastoreCount() Specifies the number of elements that will be contained in the collection after loading it. Inherited from XPBaseCollection.
GetDefaultDisplayableProperties(XPClassInfo) static Returns the default value for the XPBaseCollection.DisplayableProperties property for the specified object type. Inherited from XPBaseCollection.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetLifetimeService() Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetObjectClassInfo() Gets the metadata information for the persistent objects contained in the collection.
GetRealFetchClassInfo() This method is intended for internal use. Inherited from XPBaseCollection.
GetRealFetchCriteria() This method is intended for internal use. Inherited from XPBaseCollection.
GetService(Type) protected Returns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType() Gets the Type of the current instance. Inherited from Object.
IndexOf(Object) Returns the index of the specified object in the XPCollection.
InitializeLifetimeService() Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
Load() Loads persistent objects of a specific type from the data store into the collection. Inherited from XPBaseCollection.
LoadAsync() Asynchronously loads persistent objects of a specific type from the data store into the collection. Inherited from XPBaseCollection.
LoadAsync(AsyncLoadObjectsCallback) Asynchronously loads persistent objects of a specific type from the data store into the collection, and notifies upon completion. Inherited from XPBaseCollection.
LoadAsync(CancellationToken) Asynchronously loads persistent objects of a specific type from the data store into the collection. Inherited from XPBaseCollection.
Lookup(Object) Retrieves an object from the collection by object ID.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
PreFetch(String[]) Enforces loading data for associated collections and delayed properties. Inherited from XPBaseCollection.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reload() Clears the collection and marks it to be reloaded with data from the data store. Inherited from XPBaseCollection.
Remove(Object) Removes the specified object from the XPCollection.
ResumeChangedEvents() Resumes the immediate update of the collection after it was suspended using the XPBaseCollection.SuspendChangedEvents method. Inherited from XPBaseCollection.
SuspendChangedEvents() Prevents the immediate update of the collection when objects are added/removed and filtering/sorting is changed until the XPBaseCollection.ResumeChangedEvents method is called. Inherited from XPBaseCollection.
ToString() Returns a string that represents the current XPCollection. Inherited from XPBaseCollection.
See Also