SortedSet<T>::GetEnumerator Method ()

.NET Framework (current version)
 

Returns an enumerator that iterates through the SortedSet<T>.

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

public:
SortedSet<T>::Enumerator GetEnumerator()

Return Value

Type: System.Collections.Generic::SortedSet<T>::Enumerator

An enumerator that iterates through the SortedSet<T> in sorted order.

Any changes to the SortedSet<T> will invalidate the enumerator.

This method is an O(log n) operation.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show: