The Collection<T> type exposes the following members.
Name | Description | |
---|---|---|
Collection<T> | Overloaded. Creates and initializes an instance of the Collection<T> class. |
Name | Description | |
---|---|---|
Add |
Adds an item to the end of the Collection<T>. |
|
Clear |
Removes all items from the Collection<T>. |
|
Contains |
Determines whether an item is in the Collection<T>. |
|
CopyTo |
Copies the entire Collection<T> to a compatible one-dimensional array, starting at the specified index of the target array. |
|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator |
Returns an enumerator that iterates through the Collection<T>. |
|
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IndexOf |
Searches for the specified item and returns the zero-based index of the first occurrence within the entire Collection<T>. |
|
Insert |
Inserts an item into the Collection<T> at the specified index. |
|
MemberwiseClone | (Inherited from Object.) | |
Move |
Moves an item from one position to another. |
|
Remove |
Removes the first occurrence of a specific item from the Collection<T>. |
|
RemoveAt |
Removes the item at the specified index of the collection. |
|
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
Count |
Gets the number of items actually contained in the Collection<T>. |
|
IsReadOnly |
Gets a value indicating whether the collection is read-only. |
|
Item |
Gets or sets the item at the specified index. |