MSDN Library
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

String.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 the current String object.

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

IEnumerator IEnumerable.GetEnumerator()

Return Value

Type: System.Collections.IEnumerator
An object that can be used to iterate through the current String object.



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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2015 Microsoft