GetEnumerator Method

SortedSet(Of T).GetEnumerator Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns an enumerator that iterates through the SortedSet(Of T).

Namespace:  System.Collections.Generic
Assembly:  System (in System.dll)

'Declaration
Public Function GetEnumerator As SortedSet<(Of <(<'T>)>)>..::..Enumerator

Return Value

Type: System.Collections.Generic.SortedSet(Of T).Enumerator
An enumerator that iterates through the SortedSet(Of T) in sorted order.

Any changes to the SortedSet(Of T) will invalidate the enumerator.

This method is an O(1) operation

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft