Rune Enumerator Struct
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides an enumerator for the Rune values represented by a span containing UTF-16 text.
public value class SpanRuneEnumerator
public struct SpanRuneEnumerator
type SpanRuneEnumerator = struct
Public Structure SpanRuneEnumerator
This type is not intended to be referenced directly by application code. Instead, use the EnumerateRunes method along with language-specific enumeration constructs to enumerate Rune values within spans.
foreach statement of the C# language (
for each in C++,
For Each in Visual Basic) hides the complexity of enumerators. Therefore, using
foreach is recommended, instead of directly manipulating the enumerator.
Gets the Rune at the current position of the enumerator.
Returns the current enumerator instance.
Advances the enumerator to the next Rune of the span.