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


IGeometryArray.Insert Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geometry)  

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