com.esri.arcgis.system
Interface IArray2

All Superinterfaces:
Serializable
All Known Implementing Classes:
Array, EnumGPEnvironment, EnumGPName

public interface IArray2
extends Serializable

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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void replace(int index, Object unk)
          Replaces an object in the array.
 

Method Detail

replace

void replace(int index,
             Object unk)
             throws IOException,
                    AutomationException
Replaces an object in the array.

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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
index - The index (in)
unk - A reference to another Object (IUnknown) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.