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


ISegmentCollection.SegmentCount Property (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.SegmentCount Property
ArcGIS Developer Help

ISegmentCollection.SegmentCount Property

The number of segments.

[Visual Basic .NET]
Public ReadOnly Property SegmentCount As Integer
[C#]
public int SegmentCount {get;}
[C++]
HRESULT get_SegmentCount(
  System.Int32* cSegments
);
[C++]
Parameters
cSegments [out, retval]

cSegments is a parameter of type long*

Product Availability

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

Description

Returns the number of Segments in the Segment Collection.  The last Segment in the Segment Collection has an index equal to SegmentCount - 1.

See Also

ISegmentCollection Interface