ConcurrentListT Methods |
The ConcurrentListT generic type exposes the following members.
Name | Description | |
---|---|---|
Add |
Adds an object to the end of the list.
| |
AddRange |
Adds the elements of the specified collection to the end of the list.
| |
Clear |
Removes all elements from the list.
| |
Contains |
Determines whether an element is in the list.
| |
CopyTo |
Copies the entire list to a compatible one-dimensional array, starting at the specified index of the target array.
| |
Find |
Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire list.
| |
FindAll |
Retrieves all the elements that match the conditions defined by the specified function;
| |
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 list.
| |
Insert |
Inserts an element into the list at the specified index.
| |
Remove |
Removes the first occurrence of a specific object from the list.
| |
RemoveAll |
Removes all the elements that match the conditions defined by the specified predicate.
| |
RemoveAt |
Removes the element at the specified index of the list.
| |
Sort |
Sorts the elements in the entire list using the default comparer.
| |
Sort(IComparerT) |
Sorts the elements in the entire list using the specified comparer.
| |
ToArray |
Copies the elements of the list to a new array, and optionally clear the collection at the same time.
| |
ToList |
Copies the elements of the list to a new list, and optionally clear the collection at the same time.
|