![]() |
This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISegmentCollection Interface > ISegmentCollection.SegmentCount Property (ArcObjects .NET 10.5 SDK) |
The number of segments.
[Visual Basic .NET] Public ReadOnly Property SegmentCount As Integer
[C#] public int SegmentCount {get;}
[C++]
HRESULT get_SegmentCount(
long* cSegments
);
[C++]
Parameters cSegments [out, retval] cSegments is a parameter of type long
Returns the number of Segments in the Segment Collection. The last Segment in the Segment Collection has an index equal to SegmentCount - 1.