.NET Framework Class Library
ArrayList Members

Implements the IList interface using an array whose size is dynamically increased as required.

The ArrayList type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkArrayListOverloaded. Initializes a new instance of the ArrayList class.
Top
Methods

  NameDescription
Public methodStatic memberAdapterCreates an ArrayList wrapper for a specific IList.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkAddAdds an object to the end of the ArrayList.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkAddRangeAdds the elements of an ICollection to the end of the ArrayList.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkBinarySearchOverloaded. Uses a binary search algorithm to locate a specific element in the sorted ArrayList or a portion of it.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkClearRemoves all elements from the ArrayList.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCloneCreates a shallow copy of the ArrayList.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkContainsDetermines whether an element is in the ArrayList.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCopyToOverloaded. Copies the ArrayList or a portion of it to a one-dimensional array.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic memberFixedSizeOverloaded. Returns a list wrapper with a fixed size, where elements are allowed to be modified, but not added or removed.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetEnumeratorOverloaded. Returns an enumerator that iterates through the ArrayList.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetRangeReturns an ArrayList which represents a subset of the elements in the source ArrayList.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkIndexOfOverloaded. Returns the zero-based index of the first occurrence of a value in the ArrayList or in a portion of it.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkInsertInserts an element into the ArrayList at the specified index.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkInsertRangeInserts the elements of a collection into the ArrayList at the specified index.
Public methodLastIndexOfOverloaded. Returns the zero-based index of the last occurrence of a value in the ArrayList or in a portion of it.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic memberReadOnlyOverloaded. Returns a list wrapper that is read-only.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkRemoveRemoves the first occurrence of a specific object from the ArrayList.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkRemoveAtRemoves the element at the specified index of the ArrayList.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkRemoveRangeRemoves a range of elements from the ArrayList.
Public methodStatic memberRepeatReturns an ArrayList whose elements are copies of the specified value.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReverseOverloaded. Reverses the order of the elements in the ArrayList or a portion of it.
Public methodSetRangeCopies the elements of a collection over a range of elements in the ArrayList.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSortOverloaded. Sorts the elements in the ArrayList or a portion of it.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSynchronizedOverloaded. Returns a list wrapper that is synchronized (thread safe).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToArrayOverloaded. Copies the elements of the ArrayList to a new array.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToStringReturns a String that represents the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkTrimToSizeSets the capacity to the actual number of elements in the ArrayList.
Top
Extension Methods

  NameDescription
Public Extension MethodAsQueryableConverts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension MethodCastConverts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension MethodOfTypeFilters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top
Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkCapacityGets or sets the number of elements that the ArrayList can contain.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkCountGets the number of elements actually contained in the ArrayList.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkIsFixedSizeGets a value indicating whether the ArrayList has a fixed size.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkIsReadOnlyGets a value indicating whether the ArrayList is read-only.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkIsSynchronizedGets a value indicating whether access to the ArrayList is synchronized (thread safe).
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkItemGets or sets the element at the specified index.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkSyncRootGets an object that can be used to synchronize access to the ArrayList.
Top
See Also

Reference

Tags :


Page view tracker