IArray2 Interface

Provides access to replace an object in the array.


The IArray2 interface provides a method for replacing an element in an Array with another element.


Name Description
Method Replace Replaces an object in the array.

IArray2.Replace Method

Replaces an object in the array.

Public Sub Replace ( _
    ByVal Index As Integer, _
    ByVal unk As Object _
public void Replace (
    int Index,
    object unk


Replaces the element at the specified index in the array with the specified element. The element at the beginning or the array has an index of 0, and the element at the end of the array has in index of Count - 1.

Classes that implement IArray2

Classes Description
Array Generic array of objects.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.