IArray2 Interface

Provides access to replace an object in the array.

Description

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

Members

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
);

Description

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.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close