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.

In This Topic
    Item Property (ReadOnlySegmentCollection)
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also