ArcObjects Library Reference  (Geometry)    

IGeometryBridge.ReplaceSegments Method

Removes and inserts from segments.

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

Parameters

pSegmentCollection [in]

  pSegmentCollection is a parameter of type ISegmentCollection

Index

  Index is a parameter of type long

goingAway

  goingAway 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::ReplaceSegments .

See Also

IGeometryBridge Interface

Example

IGeometryBridge_ReplaceSegments_Example