This documentation is archived and is not being maintained.
Provides the base class for a generic collection.
The following tables list the members exposed by the Collection generic type.
(see also Protected Methods )
|Add||Adds an object to the end of the Collection.|
|Clear||Removes all elements from the Collection.|
|Contains||Determines whether an element is in the Collection.|
|CopyTo||Copies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array.|
|Equals||Overloaded. Determines whether two Object instances are equal. (inherited from Object)|
|GetEnumerator||Returns an enumerator that iterates through the Collection.|
|GetHashCode||Serves as a hash function for a particular type. (inherited from Object)|
|GetType||Gets the Type of the current instance. (inherited from Object)|
|IndexOf||Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection.|
|Insert||Inserts an element into the Collection at the specified index.|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (inherited from Object)|
|Remove||Removes the first occurrence of a specific object from the Collection.|
|RemoveAt||Removes the element at the specified index of the Collection.|
|ToString||Returns a String that represents the current Object. (inherited from Object)|
|ClearItems||Removes all elements from the Collection.|
|Finalize||Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)|
|InsertItem||Inserts an element into the Collection at the specified index.|
|MemberwiseClone||Creates a shallow copy of the current Object. (inherited from Object)|
|RemoveItem||Removes the element at the specified index of the Collection.|
|SetItem||Replaces the element at the specified index.|