AtomsFramework Persistence Layer Reference Guide

PersistentObjectCollection Members

PersistentObjectCollection overview

Public Instance Constructors

PersistentObjectCollection Constructor Initializes a new instance of the PersistentObjectCollection class.

Public Instance Properties

AllowEdit Implementation of IBindingList.AllowEdit
AllowNew Implementation of IBindingList.AllowNew
AllowRemove Implementation of IBindingList.AllowRemove
ContainerObject Back reference to the object that references (owns) this collection object.
Count Count of the objects in the collection
IsSorted Stub method for IBindlingList.IsSorted.
Item Retrieves the item at the specified position.
Site Implementation of the IComponent.Site property
SortDirection Stub method for IBindingList.SortDirection
SortProperty Stub method for IBindingList.SortProperty
SupportsChangeNotification Implementation of IBindingList.SupportsChangeNotification
SupportsSearching Implementation of IBindingList.SupportsSearching
SupportsSorting Implementation of IBindingList.SupportsSorting

Public Instance Methods

Add Adds an item to the collection.
AddIndex Stub method for IBindingList.AddIndex
AddNew Stub method for IBindingList.AddNew
ApplySort Stub method for IBindlingList.ApplySort
Clear (inherited from CollectionBase) Removes all objects from the CollectionBase instance.
CopyTo Copies the contents of the collection to an array
Delete Attempts to delete each item in the collection
DisposeOverloaded. Disposes the collection.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Find Stub method for IBindingList.Find
GetEnumerator (inherited from CollectionBase) Returns an enumerator that can iterate through the CollectionBase instance.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Insert Inserts a PersistentObject into the collection
RemoveOverloaded. Removes an item from the collection.
RemoveAt (inherited from CollectionBase) Removes the element at the specified index of the CollectionBase instance.
RemoveIndex Stub method for IBindingList.RemoveIndex
RemoveSort Stub method for IBindingList.RemoveSort
Save Attempts to save each item in the collection
ToString (inherited from Object) Returns a String that represents the current Object.

Public Instance Events

Disposed Implements the IComponent.Disposed method
ItemDirtied Event to indicate the collection has been changed (dirtied)
ListChanged Event definition for IBindingList.ListChanged
ObjectAdded Occurs when an object is added to the collection.
ObjectRemoved Occurs when an object is removed from the collection.

Protected Instance Properties

InnerList (inherited from CollectionBase) Gets an ArrayList containing the list of elements in the CollectionBase instance.
List (inherited from CollectionBase) Gets an IList containing the list of elements in the CollectionBase instance.

Protected Instance Methods

DisposeOverloaded. Disposes the collection.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClear Overrides the CollectionBase.OnClear method
OnClearComplete Overrides the CollectionBase.OnClearComplete method
OnInsert (inherited from CollectionBase) Performs additional custom processes before inserting a new element into the CollectionBase instance.
OnInsertComplete Overrides CollectionBase.OnInsertComplete
OnRemove (inherited from CollectionBase) Performs additional custom processes when removing an element from the CollectionBase instance.
OnRemoveComplete Overrides the CollectionBase.OnRemovedComplete method
OnSet (inherited from CollectionBase) Performs additional custom processes before setting a value in the CollectionBase instance.
OnSetComplete Overrides the CollectionBase.OnSetComplete
OnValidate (inherited from CollectionBase) Performs additional custom processes when validating a value.

See Also

PersistentObjectCollection Class | AtomsFramework Namespace