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.​SpanLineEnumerator
Assembly: System.Memory
Implemented Interfaces
- Collections.​Generic.​IEnumerator`1 (Inherits: IEnumeratorIDisposable)
Enumerates the lines of a <see cref="T:System.ReadOnlySpan`1" /> .
Properties
public
ReadOnlySpan<​char>
Current
Gets the line at the current position of the enumerator.
Methods
Returns This instance as an enumerator.
public
bool
MoveNext​()
Advances the enumerator to the next line of the span.
Returns <see langword="true" /> if the enumerator successfully advanced to the next line; <see langword="false" /> if the enumerator has advanced past the end of the span.
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object