ArcObjects Library Reference  (Geometry)    

IGeometryBridge.InsertGeometries Method

Inserts at the specified index references to some number of geometries in the input array.

[Visual Basic 6.0]
Sub InsertGeometries(
    ByVal pGeometryCollection As IGeometryCollection, _
    ByVal Index As Long, _
    ByVal newGeometries() As IGeometry _
)
[Visual Basic .NET]
Public Sub InsertGeometries ( _
    ByVal pGeometryCollection As IGeometryCollection, _
    ByVal Index As Integer, _
    ByRef newGeometries As IGeometry[] _
)
[C#]
public void InsertGeometries (
    IGeometryCollection pGeometryCollection,
    int Index,
    ref IGeometry[] newGeometries
);
[Java]
public void insertGeometries (
    IGeometryCollection pGeometryCollection,
    int Index,
    IGeometry[] newGeometries
)
throws
    IOException,
    AutomationException
[C++]
HRESULT InsertGeometries(
  IGeometryCollection* pGeometryCollection,
  long Index,
  Array* newGeometries
);
[C++]

Parameters

pGeometryCollection [in]

  pGeometryCollection is a parameter of type IGeometryCollection

Index

  Index is a parameter of type long

newGeometries [in]

  newGeometries is a parameter of type Array

Product Availability

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

Description

All development languages compatible version of IGeometryCollection::InsertGeometries.

See Also

IGeometryBridge Interface

Example

IGeometryBridge_InsertGeometries_Example