This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISegmentCollection Interface > ISegmentCollection.InsertSegments Method (ArcObjects .NET 10.4 SDK) |
Inserts references to the input segments. This method is intended for internal use only.
[Visual Basic .NET] Public Sub InsertSegments ( _ ByVal Index As Integer, _ ByVal Count As Integer, _ ByRef newSegments As ISegment _ )
[C#] public void InsertSegments ( int Index, int Count, ref ISegment newSegments );
[C++]
HRESULT InsertSegments(
long Index,
long Count,
ISegment** newSegments
);
[C++]
Parameters Index Index is a parameter of type long Count Count is a parameter of type long newSegments [in]
newSegments is a parameter of type ISegment
Inserts a specified number (Count) of Segments into the Segment Collection at the given index from an array of Segments. The first Count segments from the array are inserted.
When using C# you must use the IGeometryBridge interface to call this method.
When using VBNET you must use the IGeometryBridge interface to call this method.