ArrayList Methods

 

Namespace:   System.Collections
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAdapter(IList)

Creates an ArrayList wrapper for a specific IList.

System_CAPS_pubmethodAdd(Object)

Adds an object to the end of the ArrayList.

System_CAPS_pubmethodAddRange(ICollection)

Adds the elements of an ICollection to the end of the ArrayList.

System_CAPS_pubmethodBinarySearch(Int32, Int32, Object, IComparer)

Searches a range of elements in the sorted ArrayList for an element using the specified comparer and returns the zero-based index of the element.

System_CAPS_pubmethodBinarySearch(Object)

Searches the entire sorted ArrayList for an element using the default comparer and returns the zero-based index of the element.

System_CAPS_pubmethodBinarySearch(Object, IComparer)

Searches the entire sorted ArrayList for an element using the specified comparer and returns the zero-based index of the element.

System_CAPS_pubmethodClear()

Removes all elements from the ArrayList.

System_CAPS_pubmethodClone()

Creates a shallow copy of the ArrayList.

System_CAPS_pubmethodContains(Object)

Determines whether an element is in the ArrayList.

System_CAPS_pubmethodCopyTo(Array)

Copies the entire ArrayList to a compatible one-dimensional Array, starting at the beginning of the target array.

System_CAPS_pubmethodCopyTo(Array, Int32)

Copies the entire ArrayList to a compatible one-dimensional Array, starting at the specified index of the target array.

System_CAPS_pubmethodCopyTo(Int32, Array, Int32, Int32)

Copies a range of elements from the ArrayList to a compatible one-dimensional Array, starting at the specified index of the target array.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFixedSize(ArrayList)

Returns an ArrayList wrapper with a fixed size.

System_CAPS_pubmethodSystem_CAPS_staticFixedSize(IList)

Returns an IList wrapper with a fixed size.

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator for the entire ArrayList.

System_CAPS_pubmethodGetEnumerator(Int32, Int32)

Returns an enumerator for a range of elements in the ArrayList.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetRange(Int32, Int32)

Returns an ArrayList which represents a subset of the elements in the source ArrayList.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIndexOf(Object)

Searches for the specified Object and returns the zero-based index of the first occurrence within the entire ArrayList.

System_CAPS_pubmethodIndexOf(Object, Int32)

Searches for the specified Object and returns the zero-based index of the first occurrence within the range of elements in the ArrayList that extends from the specified index to the last element.

System_CAPS_pubmethodIndexOf(Object, Int32, Int32)

Searches for the specified Object and returns the zero-based index of the first occurrence within the range of elements in the ArrayList that starts at the specified index and contains the specified number of elements.

System_CAPS_pubmethodInsert(Int32, Object)

Inserts an element into the ArrayList at the specified index.

System_CAPS_pubmethodInsertRange(Int32, ICollection)

Inserts the elements of a collection into the ArrayList at the specified index.

System_CAPS_pubmethodLastIndexOf(Object)

Searches for the specified Object and returns the zero-based index of the last occurrence within the entire ArrayList.

System_CAPS_pubmethodLastIndexOf(Object, Int32)

Searches for the specified Object and returns the zero-based index of the last occurrence within the range of elements in the ArrayList that extends from the first element to the specified index.

System_CAPS_pubmethodLastIndexOf(Object, Int32, Int32)

Searches for the specified Object and returns the zero-based index of the last occurrence within the range of elements in the ArrayList that contains the specified number of elements and ends at the specified index.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticReadOnly(ArrayList)

Returns a read-only ArrayList wrapper.

System_CAPS_pubmethodSystem_CAPS_staticReadOnly(IList)

Returns a read-only IList wrapper.

System_CAPS_pubmethodRemove(Object)

Removes the first occurrence of a specific object from the ArrayList.

System_CAPS_pubmethodRemoveAt(Int32)

Removes the element at the specified index of the ArrayList.

System_CAPS_pubmethodRemoveRange(Int32, Int32)

Removes a range of elements from the ArrayList.

System_CAPS_pubmethodSystem_CAPS_staticRepeat(Object, Int32)

Returns an ArrayList whose elements are copies of the specified value.

System_CAPS_pubmethodReverse()

Reverses the order of the elements in the entire ArrayList.

System_CAPS_pubmethodReverse(Int32, Int32)

Reverses the order of the elements in the specified range.

System_CAPS_pubmethodSetRange(Int32, ICollection)

Copies the elements of a collection over a range of elements in the ArrayList.

System_CAPS_pubmethodSort()

Sorts the elements in the entire ArrayList.

System_CAPS_pubmethodSort(IComparer)

Sorts the elements in the entire ArrayList using the specified comparer.

System_CAPS_pubmethodSort(Int32, Int32, IComparer)

Sorts the elements in a range of elements in ArrayList using the specified comparer.

System_CAPS_pubmethodSystem_CAPS_staticSynchronized(ArrayList)

Returns an ArrayList wrapper that is synchronized (thread safe).

System_CAPS_pubmethodSystem_CAPS_staticSynchronized(IList)

Returns an IList wrapper that is synchronized (thread safe).

System_CAPS_pubmethodToArray()

Copies the elements of the ArrayList to a new Object array.

System_CAPS_pubmethodToArray(Type)

Copies the elements of the ArrayList to a new array of the specified element type.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodTrimToSize()

Sets the capacity to the actual number of elements in the ArrayList.

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

Return to top
Show: