ArcObjects Library Reference  (Geometry)    

IGeometryBridge.InsertSegments Method

Inserts references to the input segments.

[Visual Basic 6.0]
Sub InsertSegments(
    ByVal pSegmentCollection As ISegmentCollection, _
    ByVal Index As Long, _
    ByVal newSegments() As ISegment _
)
[Visual Basic .NET]
Public Sub InsertSegments ( _
    ByVal pSegmentCollection As ISegmentCollection, _
    ByVal Index As Integer, _
    ByRef newSegments As ISegment[] _
)
[C#]
public void InsertSegments (
    ISegmentCollection pSegmentCollection,
    int Index,
    ref ISegment[] newSegments
);
[Java]
public void insertSegments (
    ISegmentCollection pSegmentCollection,
    int Index,
    ISegment[] newSegments
)
throws
    IOException,
    AutomationException
[C++]
HRESULT InsertSegments(
  ISegmentCollection* pSegmentCollection,
  long Index,
  Array* newSegments
);
[C++]

Parameters

pSegmentCollection [in]

  pSegmentCollection is a parameter of type ISegmentCollection

Index

  Index is a parameter of type long

newSegments [in]

  newSegments is a parameter of type Array

Product Availability

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

Description

All development languages compatible version of ISegmentCollection::InsertSegments .

See Also

IGeometryBridge Interface

Example

IGeometryBridge_AddSegments_Example