ObservableCollectionT Methods |
The ObservableCollectionT generic type exposes the following members.
Name | Description | |
---|---|---|
Add |
Adds an object to the collection.
| |
AddRange |
Adds an object list to the end of the collection.
| |
Clear |
Removes all object from the collection.
| |
Contains |
Determines whether an object is in the collection.
| |
CopyTo |
Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
| |
GetEnumerator |
Returns an enumerator that iterates through the collection.
| |
IndexOf |
Searches for the specified object and returns the zero-based index of the first occurrence within the entire collection.
| |
Insert |
Inserts an object into the collection at the specified index.
| |
Remove(IEnumerableT) |
Removes the first occurrence of a specific object from the collection
| |
Remove(T) |
Removes the first occurrence of a specific object from the collection
| |
RemoveAt |
Removes the object at the specified index of the collection.
| |
Reverse |
Reverses the order of the elements in the entire list.
| |
Sort |
Sorts the elements in the entire System.Collections.Generic.List<T> using the default comparer.
| |
Sort(ComparisonT) |
Sorts the elements in the entire System.Collections.Generic.List<T> using the specified System.Comparison<T>.
| |
Sort(IComparerT) |
Sorts the elements in a range of elements in System.Collections.Generic.List<T> using the specified comparer.
| |
Sort(Int32, Int32, IComparerT) |
Sorts the elements in a range of elements in System.Collections.Generic.List<T> using the specified comparer.
|