This documentation is archived and is not being maintained.

IList Methods

The IList type exposes the following members.

Public method Add Adds an item to the IList.
Public method Clear Removes all items from the IList.
Public method Contains Determines whether the IList contains a specific value.
Public method CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection.)
Public method GetEnumerator Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public method IndexOf Determines the index of a specific item in the IList.
Public method Insert Inserts an item to the IList at the specified index.
Public method Remove Removes the first occurrence of a specific object from the IList.
Public method RemoveAt Removes the IList item at the specified index.

Public Extension Method AsParallel Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast<TResult> Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType<TResult> Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)