This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeometryArray Interface > IGeometryArray.Insert Method (ArcObjects .NET 10.5 SDK) |
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