XPBaseCollection Members
In This Article
#Properties
Name | Description |
---|---|
Binding |
Defines which operations a bound control can perform on a collection. This enumeration has a Flags |
Can |
Gets a value indicating whether the component can raise an event. Inherited from Component. |
Case |
Gets or sets whether string comparisons during sorting and filtering of the XPBase |
Clear |
For internal use. |
Container | Gets the IContainer that contains the Component. Inherited from Component. |
Count |
Gets the number of elements contained in the XPBase |
Criteria | Gets or sets the criteria used to filter objects on the data store side. |
Criteria |
Gets or sets the criteria used to filter objects on the data store side. |
Delete |
Gets or sets whether the persistent object is deleted from the data store when it is removed from the collection. |
Design |
Gets a value that indicates whether the Component is currently in design mode. Inherited from Component. |
Displayable |
Gets or sets the displayable properties list for a bound control. |
Enable |
Obsolete. Specifies whether object changed notifications occur when editing a property. |
Events protected | Gets the list of event handlers that are attached to this Component. Inherited from Component. |
Filter | Gets or sets the criteria used to filter objects on the client side. |
Hint |
This member supports the .NET Framework infrastructure and cannot be used directly from your code. |
Is |
For internal use. |
Is |
Gets whether the XPBase |
Loading |
Gets or sets whether loading of data from a data store to the collection is enabled. |
Select |
Gets or sets whether objects that are marked as deleted are retrieved by a collection from a data store. |
Session | Gets or sets the Session used by the current collection. |
Site | Gets or sets the ISite of the Component. Inherited from Component. |
Skip |
Gets or sets the number of objects to exclude when populating the collection with objects from a data store. |
Sorting | Gets or sets the sort settings for the current collection. |
Top |
Gets or sets the maximum number of objects retrieved by the collection from a data store. |
#Methods
Name | Description |
---|---|
Base |
Adds the specified persistent object to the XPBase |
Base |
Adds each element from a specified collection of persistent objects to the XPBase |
Base |
Gets the object at the specified index. |
Base |
Determines the index of the specified object in the XPBase |
Base |
Removes the specified persistent object from the XPBase |
Base |
Asynchronously removes the specified persistent object from the XPBase |
Begin |
Starts the loading process. |
Begin |
Starts the loading process. |
Begin |
|
Begin |
|
Dispose() | Releases all resources used by the Component. Inherited from Component. |
End |
Ends the loading process. |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Evaluate |
Specifies the number of elements that will be contained in the collection after loading it. |
Get |
Returns the default value for the XPBase |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
Inherited from Marshal |
Get |
When implemented by a class, returns the metadata information that describes the type of objects in the collection. |
Get |
This method is intended for internal use. |
Get |
This method is intended for internal use. |
Get |
Returns an object that represents a service provided by the Component or by its Container. Inherited from Component. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Initialize |
Obtains a lifetime service object to control the lifetime policy for this instance.
Inherited from Marshal |
Load() | Loads persistent objects of a specific type from the data store into the collection. |
Load |
Asynchronously loads persistent objects of a specific type from the data store into the collection. |
Load |
Asynchronously loads persistent objects of a specific type from the data store into the collection, and notifies upon completion. |
Load |
Asynchronously loads persistent objects of a specific type from the data store into the collection. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Memberwise |
Creates a shallow copy of the current Marshal |
Pre |
Enforces loading data for associated collections and delayed properties. |
Reference |
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. |
Resume |
Resumes the immediate update of the collection after it was suspended using the XPBase |
Suspend |
Prevents the immediate update of the collection when objects are added/removed and filtering/sorting is changed until the XPBase |
To |
Returns a string that represents the current XPCollection. |
#Events
Name | Description |
---|---|
Collection |
Occurs when an item is added to, or removed from the XPBase |
Disposed | Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component. |
List |
Occurs when the list or an item in the list of the XPBase |
Resolve |
Enables the collection to be associated with a session. |
See Also