Search
PersistableCollection(T) Members
Constructors Fields Properties Methods
 


A base collection class for persistable collections.

The following tables list the members exposed by the PersistableCollection(T) type.

 Protected Constructors

  Name Description

PersistableCollection

Initializes a new instance of the PersistableCollection class.

 Protected Fields

  Name Description

InnerList

Gets a List<T> containing the list of elements in the collection instance. (Inherited from CollectionBase.)

 Public Properties

  Name Description

Count

Gets the number of elements actually contained in the collection. (Inherited from CollectionBase.)

IsReadOnly

Gets a value indicating whether the collection is read-only. (Inherited from CollectionBase.)

Item

Gets or sets the element at the specified index. (Inherited from CollectionBase.)

 Public Methods

  Name Description

Add

Adds an object to the end of the collection. (Inherited from CollectionBase.)

Clear

Removes all elements from the collection. (Inherited from CollectionBase.)

Contains

Determines whether an element is in the collection. (Inherited from CollectionBase.)

CopyTo

Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. (Inherited from CollectionBase.)

GetEnumerator

Returns an enumerator that iterates through the collection. (Inherited from CollectionBase.)

IndexOf

Searches for the specified object and returns the zero-based index of the first occurrence within the entire collection. (Inherited from CollectionBase.)

Insert

Inserts an element into the collection at the specified index. (Inherited from CollectionBase.)

Remove

Removes the first occurrence of a specific object from the collection. (Inherited from CollectionBase.)

RemoveAt

Removes the element at the specified index of the collection. (Inherited from CollectionBase.)

Sort

Overloaded.   (Inherited from CollectionBase.)

 See Also