Inserts at the specified index references to all if the geometries in the input collection.
[Visual Basic .NET] Public Sub InsertGeometryCollection ( _ ByVal Index As Integer, _ ByVal newGeometries As IGeometryCollection _ )
[C#] public void InsertGeometryCollection ( int Index, IGeometryCollection newGeometries );
[C++]
HRESULT InsertGeometryCollection(
long Index,
IGeometryCollection* newGeometries
);
[C++]Parameters
Index Index is a parameter of type long newGeometriesnewGeometries is a parameter of type IGeometryCollection
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
InsertGeometryCollection merges one GeometryCollection within another at a specified index.
[C#]
//C# Example: Insert GeometryCollection geomColl2 within geomColl at index 3.
geomColl.InsertGeometryCollection(3, geomColl2);