ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / ReadOnlySegmentCollection Class / Item Property
The zero-based index of the element to get or set.
Version

Item Property (ReadOnlySegmentCollection)
Gets the element at the specified index.
Syntax
public Segment this[ 
   int index
]; {get;}

Parameters

index
The zero-based index of the element to get or set.

Property Value

The element at the specified index.
Exceptions
ExceptionDescription
index is less than 0 or index is equal to or greater than Count.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also