String.IEnumerable<Char>.GetEnumerator Method

July 28, 2014

Returns an enumerator that iterates through the current String object.

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

IEnumerator<char> IEnumerable<char>.GetEnumerator()

Return Value

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

Implements

IEnumerable<T>.GetEnumerator()

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft