String.IEnumerable<(Of <(Char>)>).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 current String object.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)


Private Function GetEnumerator As IEnumerator(Of Char)
    Implements IEnumerable(Of Char).GetEnumerator
IEnumerator<char> IEnumerable<char>.GetEnumerator()

Return Value

Type: System.Collections.Generic..::.IEnumerator<(Of <(Char>)>)
A IEnumerator<(Of <(T>)>) of type Char that can be used to iterate through the current String object.


IEnumerable<(Of <(T>)>)..::.GetEnumerator()()()


This member is an explicit interface member implementation. It can be used only when the String instance is cast to an IEnumerable<(Of <(T>)>) interface. For more information, see the GetEnumerator method.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


String Class

System Namespace