This document is archived and information here might be outdated.  Recommended version.


ISegmentCollection.SegmentsChanged Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geometry)  

ISegmentCollection.SegmentsChanged Method

Informs the segment collection that any cached values that it may be maintaining (envelope, length, etc.) are invalid. Use this method after editing segments directly.

[Visual Basic .NET]
Public Sub SegmentsChanged ( _
)
[C#]
public void SegmentsChanged (
);
[C++]
HRESULT SegmentsChanged(
void
);

Product Availability

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

Description

SegmentsChanged forces the SegmentCollection to recalculate any values that it has cached.  SegmentsChanged should be used whenever the Segments in the SegmentCollection are modified without using the SegmentCollection methods.  As long as the SegmentCollection is only modified using SegmentCollection methods, the cached values are current and consistent.

See Also

ISegmentCollection Interface

.NET Related Topics

How to modify a specific segment of a polyline