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


IGpObjectArray.Insert Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpObjectArray Interface > IGpObjectArray.Insert Method
ArcGIS Developer Help

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