ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Geometry Namespace / ReadOnlySegmentCollection Class / GetEnumerator Method

In This Topic
    GetEnumerator Method (ReadOnlySegmentCollection)
    In This Topic
    Returns an enumerator that iterates through the collection.
    Syntax
    public IEnumerator<Segment> GetEnumerator()
    Public Function GetEnumerator() As IEnumerator(Of Segment)

    Return Value

    A IEnumerator that can be used to iterate through the collection.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also