GetEnumerator Method

SynchronizedReadOnlyCollection(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 synchronized, read-only collection.

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

'Declaration
Public Function GetEnumerator As IEnumerator(Of T)

Return Value

Type: System.Collections.Generic.IEnumerator(Of T)
An IEnumerator(Of T) for objects of the type stored in the collection.

Implements

IEnumerable(Of T).GetEnumerator

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft