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


ISegmentCollection.SegmentsChanged Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISegmentCollection Interface > ISegmentCollection.SegmentsChanged Method
ArcGIS Developer Help

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