This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISegmentCollection Interface > ISegmentCollection.Segment Property (ArcObjects .NET 10.4 SDK) |
A reference to the ith segment.
[Visual Basic .NET] Public Function get_Segment ( _ ByVal i As Integer _ ) As ISegment
[C#] public ISegment get_Segment ( int i );
[C++]
HRESULT get_Segment(
long i,
ISegment** Segment
);
[C++]
Parameters i i is a parameter of type long Segment [out, retval]
Segment is a parameter of type ISegment
Returns the ith Segment from the Segment Collection. The first Segment has index 0 and the last Segment has index equal to SegmentCount - 1. The last Segment can also be referenced using index -1.