| CollectionT Class |
Namespace: System.Collections.ObjectModel
[SerializableAttribute] public class Collection<T> : IList<T>, ICollection<T>, IEnumerable<T>, IList, ICollection, IEnumerable
The CollectionT type exposes the following members.
| Name | Description | |
|---|---|---|
| Add | Adds an object to the end of the CollectionT. | |
| Clear | Removes all elements from the CollectionT. | |
| ClearItems | Removes all elements from the CollectionT. | |
| Contains | Determines whether an element is in the CollectionT. | |
| CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. | |
| Equals(Object) | (Inherited from Object.) | |
| GetEnumerator | Returns an enumerator that iterates through the CollectionT. | |
| 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 CollectionT. | |
| Insert | Inserts an element into the CollectionT at the specified index. | |
| InsertItem | Inserts an element into the CollectionT at the specified index. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Remove | Removes the first occurrence of a specific object from the CollectionT. | |
| RemoveAt | Removes the element at the specified index of the CollectionT. | |
| RemoveItem | Removes the element at the specified index of the CollectionT. | |
| SetItem | Replaces the element at the specified index. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |