ArcGIS Pro 2.7 API Reference Guide
Item Property (ReadOnlySegmentCollection)

ArcGIS.Core.Geometry Namespace > ReadOnlySegmentCollection Class : Item Property
The zero-based index of the element to get or set.
Gets the element at the specified index.
Syntax
public Segment this[ 
   int index
]; {get;}
Public ReadOnly Default Property Item( _
   ByVal index As Integer _
) As Segment

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 10, Windows 8.1

See Also

Reference

ReadOnlySegmentCollection Class
ReadOnlySegmentCollection Members