ArcObjects Library Reference (Geoprocessing)  

IGpObjectArray.Insert Method

Adds an object to the array at the specified index.

[Visual Basic .NET]
Public Sub Insert ( _
    ByVal Element As Integer, _
    ByVal pObject As Object _
)
[C#]
public void Insert (
    int Element,
    object pObject
);
[C++]
HRESULT Insert(
  long Element,
  IDispatch* pObject
);
[C++]

Parameters

Element [in]   Element is a parameter of type long pObject [in]   pObject is a parameter of type IDispatch*

Product Availability

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

See Also

IGpObjectArray Interface