Click or drag to resize

ConcurrentListT Methods

The ConcurrentListT generic type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds an object to the end of the list.
Public methodAddRange
Adds the elements of the specified collection to the end of the list.
Public methodClear
Removes all elements from the list.
Public methodContains
Determines whether an element is in the list.
Public methodCopyTo
Copies the entire list to a compatible one-dimensional array, starting at the specified index of the target array.
Public methodFind
Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire list.
Public methodFindAll
Retrieves all the elements that match the conditions defined by the specified function;
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire list.
Public methodInsert
Inserts an element into the list at the specified index.
Public methodRemove
Removes the first occurrence of a specific object from the list.
Public methodRemoveAll
Removes all the elements that match the conditions defined by the specified predicate.
Public methodRemoveAt
Removes the element at the specified index of the list.
Public methodSort
Sorts the elements in the entire list using the default comparer.
Public methodSort(IComparerT)
Sorts the elements in the entire list using the specified comparer.
Public methodToArray
Copies the elements of the list to a new array, and optionally clear the collection at the same time.
Public methodToList
Copies the elements of the list to a new list, and optionally clear the collection at the same time.
Top
See Also