This document is archived and information here might be outdated. Recommended version. |
Remove and inserts some segments.
[Visual Basic .NET] Public Sub ReplaceSegmentCollection ( _ ByVal Index As Integer, _ ByVal goingAway As Integer, _ ByVal newSegments As ISegmentCollection _ )
[C#] public void ReplaceSegmentCollection ( int Index, int goingAway, ISegmentCollection newSegments );
[C++]
HRESULT ReplaceSegmentCollection(
long Index,
long goingAway,
ISegmentCollection* newSegments
);
[C++]
Parameters Index
Index is a parameter of type long goingAway
goingAway is a parameter of type long newSegments
newSegments is a parameter of type ISegmentCollection*
Replaces a specified number (goingAway) of Segments in the Segment Collection begining at a given index with a Segment Collection of Segments (inserted at the given index).