ArcObjects Library Reference  (Geometry)    


public void InsertGeometries()
  IPoint point1 = new PointClass();
  IPoint point2 = new PointClass();
  IGeometry[] geometryArray = new IGeometry[2];
  geometryArray[0] = point1 as IGeometry;
  geometryArray[1] = point2 as IGeometry;
  //insert geometries at position 0
  IGeometryCollection geometryCollection = new MultipointClass();
  IGeometryBridge geometryBridge = new GeometryEnvironmentClass();
  geometryBridge.InsertGeometries(geometryCollection, 0, ref geometryArray);


[Visual Basic 6.0, Visual Basic .NET, C++]
No example is available for Visual Basic 6.0, Visual Basic .NET, or C++. To view a C# example, click the Language Filter button Language Filter in the upper-left corner of the page.