ArcObjects Library Reference (Geometry)  

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(
  long* 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

.NET Snippets

Remove Segments From Geometry |

.NET Samples

Curve conversion add-in (Code Files: CurveConversionDockWin) |