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

IPointCollection.InsertPointCollection Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IPointCollection Interface > IPointCollection.InsertPointCollection Method
ArcGIS Developer Help

IPointCollection.InsertPointCollection Method

Inserts copies of points, from the input point collection, as vertices into this Path, Ring, Polyline, or Polygon; or references to points in the input point collection into this Multipoint, TriangleFan, or TriangleStrip.

[Visual Basic .NET]
Public Sub InsertPointCollection ( _
    ByVal Index As Integer, _
    ByVal newPoints As IPointCollection _
public void InsertPointCollection (
    int Index,
    IPointCollection newPoints
HRESULT InsertPointCollection(
  long Index,
  IPointCollection* newPoints

Index is a parameter of type long newPoints
newPoints is a parameter of type IPointCollection*

Product Availability

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


Inserts a PointCollection of Points into the PointCollection at the specified index.  The resulting PointCollection does not retain information about the distinction between the old and new Point Collections.

See Also

IPointCollection Interface