This document is archived and information here might be outdated.  Recommended version.


IGpObjectArray.Insert Method (ArcObjects .NET 10.4 SDK)
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