IEnumerable.GetEnumerator Method

SortedSet(Of T).IEnumerable.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 a collection.

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

'Declaration
Private Function GetEnumerator As IEnumerator
	Implements IEnumerable.GetEnumerator

Return Value

Type: System.Collections.IEnumerator
An enumerator that can be used to iterate through the collection.

Implements

IEnumerable.GetEnumerator

This member is an explicit interface member implementation. It can be used only when the SortedSet(Of T) instance is cast to an IEnumerable interface.

This method is an O(1) operation.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft