Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
struct System.​Text.​SpanRuneEnumerator
Assembly: System.Memory
Implemented Interfaces
- Collections.​Generic.​IEnumerator`1 (Inherits: IEnumeratorIDisposable)
Provides an enumerator for the <see cref="T:System.Text.Rune" /> values represented by a span containing UTF-16 text.
Properties
public
Rune
Current
Gets the <see cref="T:System.Text.Rune" /> at the current position of the enumerator.
Methods
Returns The current enumerator instance.
public
bool
MoveNext​()
Advances the enumerator to the next <see cref="T:System.Text.Rune" /> of the span.
Returns <see langword="true" /> if the enumerator successfully advanced to the next item; <see langword="false" /> if the end of the span has been reached.
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object