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


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

IGeometryArray.Insert Method

Adds a geometry at the specified position.

[Visual Basic .NET]
Public Sub Insert ( _
    ByVal Index As Integer, _
    ByVal g As IGeometry _
)
[C#]
public void Insert (
    int Index,
    IGeometry g
);
[C++]
HRESULT Insert(
  long Index,
  IGeometry* g
);
[C++]
Parameters
Index [in]

Index is a parameter of type long g [in]
g is a parameter of type IGeometry*

Product Availability

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

See Also

IGeometryArray Interface