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


ISegmentCollection.InsertSegmentCollection Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geometry)  

ISegmentCollection.InsertSegmentCollection Method

Inserts references to the segments in the input collectoin.

[Visual Basic .NET]
Public Sub InsertSegmentCollection ( _
    ByVal Index As Integer, _
    ByVal newSegments As ISegmentCollection _
)
[C#]
public void InsertSegmentCollection (
    int Index,
    ISegmentCollection newSegments
);
[C++]
HRESULT InsertSegmentCollection(
  long Index,
  ISegmentCollection* newSegments
);
[C++]

Parameters Index
Index is a parameter of type long newSegments
newSegments is a parameter of type ISegmentCollection*

Product Availability

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

Description

Inserts a Segment Collection of segments into the Segment Collection at the specified index.  The resulting Segment Collection does not retain information about the distinction between the old and new Segment Collections.

See Also

ISegmentCollection Interface