Export (0) Print
Expand All
3 out of 4 rated this helpful - Rate this topic

ArrayList Methods

(see also Protected Methods )
  Name Description
Public method Static Adapter Creates an ArrayList wrapper for a specific IList.
Public method Supported by the .NET Compact Framework Add Adds an object to the end of the ArrayList.
Public method Supported by the .NET Compact Framework AddRange Adds the elements of an ICollection to the end of the ArrayList.
Public method Supported by the .NET Compact Framework BinarySearch Overloaded. Uses a binary search algorithm to locate a specific element in the sorted ArrayList or a portion of it.
Public method Supported by the .NET Compact Framework Clear Removes all elements from the ArrayList.
Public method Supported by the .NET Compact Framework Clone Creates a shallow copy of the ArrayList.
Public method Supported by the .NET Compact Framework Contains Determines whether an element is in the ArrayList.
Public method Supported by the .NET Compact Framework CopyTo Overloaded. Copies the ArrayList or a portion of it to a one-dimensional array.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static FixedSize Overloaded. Returns a list wrapper with a fixed size, where elements are allowed to be modified, but not added or removed.
Public method Supported by the .NET Compact Framework GetEnumerator Overloaded. Returns an enumerator that iterates through the ArrayList.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetRange Returns an ArrayList which represents a subset of the elements in the source ArrayList.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Supported by the .NET Compact Framework IndexOf Overloaded. Returns the zero-based index of the first occurrence of a value in the ArrayList or in a portion of it.
Public method Supported by the .NET Compact Framework Insert Inserts an element into the ArrayList at the specified index.
Public method Supported by the .NET Compact Framework InsertRange Inserts the elements of a collection into the ArrayList at the specified index.
Public method LastIndexOf Overloaded. Returns the zero-based index of the last occurrence of a value in the ArrayList or in a portion of it.
Public method Static ReadOnly Overloaded. Returns a list wrapper that is read-only.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Remove Removes the first occurrence of a specific object from the ArrayList.
Public method Supported by the .NET Compact Framework RemoveAt Removes the element at the specified index of the ArrayList.
Public method Supported by the .NET Compact Framework RemoveRange Removes a range of elements from the ArrayList.
Public method Static Repeat Returns an ArrayList whose elements are copies of the specified value.
Public method Supported by the .NET Compact Framework Reverse Overloaded. Reverses the order of the elements in the ArrayList or a portion of it.
Public method SetRange Copies the elements of a collection over a range of elements in the ArrayList.
Public method Supported by the .NET Compact Framework Sort Overloaded. Sorts the elements in the ArrayList or a portion of it.
Public method Static Supported by the .NET Compact Framework Synchronized Overloaded. Returns a list wrapper that is synchronized (thread safe).
Public method Supported by the .NET Compact Framework ToArray Overloaded. Copies the elements of the ArrayList to a new array.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Supported by the .NET Compact Framework TrimToSize Sets the capacity to the actual number of elements in the ArrayList.
Top
  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.