String.IEnumerable.GetEnumerator Method ()
.NET Framework (current version)
Returns an enumerator that iterates through the current String object.
Assembly: mscorlib (in mscorlib.dll)
Return Value
Type: System.Collections.IEnumeratorAn enumerator that can be used to iterate through the current string.
Implements
IEnumerable.GetEnumerator()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.
Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: