ArcGIS Pro 3.0 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, Windows 8.1

    See Also