This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISegmentCollection Interface > ISegmentCollection.SetSegmentCollection Method (ArcObjects .NET 10.4 SDK) |
Replaces all segments with references to segments from the input collection.
[Visual Basic .NET] Public Sub SetSegmentCollection ( _ ByVal newSegments As ISegmentCollection _ )
[C#] public void SetSegmentCollection ( ISegmentCollection newSegments );
[C++]
HRESULT SetSegmentCollection(
ISegmentCollection* newSegments
);
[C++]
Parameters newSegments
newSegments is a parameter of type ISegmentCollection
Sets the contents of the Segment Collection equal to the contents of the input Segment Collection. After SetSegmentCollection is called, the Segment Collection contains only the segments from the input Segment Collection (regardless of what it may have contained previously).