ArcGIS Pro 3.7 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 ReadOnly Default Property Item( _
       ByVal index As Integer _
    ) As Segment
    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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also