Array Methods

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The Array type exposes the following members.

  Name Description
Public method Static member BinarySearch(Array, Object, IComparer) Searches an entire one-dimensional sorted Array for a value using the specified IComparer interface.
Public method Static member BinarySearch(Array, Int32, Int32, Object, IComparer) Searches a range of elements in a one-dimensional sorted Array for a value, using the specified IComparer interface.
Public method Static member Clear Sets a range of elements in the Array to zero, to false, or to nullNothingnullptrunita null reference (Nothing in Visual Basic), depending on the element type.
Public method Clone Creates a shallow copy of the Array.
Public method Static member Copy(Array, Array, Int32) Copies a range of elements from an Array starting at the first element and pastes them into another Array starting at the first element. The length is specified as a 32-bit integer.
Public method Static member Copy(Array, Int32, Array, Int32, Int32) Copies a range of elements from an Array starting at the specified source index and pastes them to another Array starting at the specified destination index. The length and the indexes are specified as 32-bit integers.
Public method CopyTo Copies all the elements of the current one-dimensional Array to the specified one-dimensional Array starting at the specified destination Array index. The index is specified as a 32-bit integer.
Public method Static member CreateInstance Creates a one-dimensional Array of the specified Type and length, with zero-based indexing.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Returns an IEnumerator for the Array.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue Gets the value at the specified position in the one-dimensional Array. The index is specified as a 32-bit integer.
Public method Static member IndexOf(Array, Object) Searches for the specified object and returns the index of the first occurrence within the entire one-dimensional Array.
Public method Static member IndexOf(Array, Object, Int32) Searches for the specified object and returns the index of the first occurrence within the range of elements in the one-dimensional Array that extends from the specified index to the last element.
Public method Static member IndexOf(Array, Object, Int32, Int32) Searches for the specified object and returns the index of the first occurrence within the range of elements in the one-dimensional Array that starts at the specified index and contains the specified number of elements.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Explicit interface implemetation Private method IList..::..Add Adds an item to IList.
Explicit interface implemetation Private method IList..::..Clear Removes all items from the IList.
Explicit interface implemetation Private method IList..::..Contains Determines whether an element is in the IList.
Explicit interface implemetation Private method IList..::..IndexOf Determines the index of a specific item in the IList.
Explicit interface implemetation Private method IList..::..Insert Inserts an item to the IList at the specified index.
Explicit interface implemetation Private method IList..::..Remove Removes the first occurrence of a specific object from the IList.
Explicit interface implemetation Private method IList..::..RemoveAt Removes the IList item at the specified index.
Top
Show: