Pročitaj na engleskom Uredi

Deli putem


MemoryExtensions.SpanSplitEnumerator<T> Struct

Definition

Enables enumerating each split within a ReadOnlySpan<T> that has been divided using one or more separators.

C#
public ref struct MemoryExtensions.SpanSplitEnumerator<T> where T : IEquatable<T>

Type Parameters

T

The type of items in the MemoryExtensions.SpanSplitEnumerator<T>.

Inheritance
MemoryExtensions.SpanSplitEnumerator<T>

Properties

Current

Gets the current element of the enumeration.

Methods

GetEnumerator()

Gets an enumerator that allows for iteration over the split span.

MoveNext()

Advances the enumerator to the next element of the enumeration.

Applies to

Proizvod Verzije
.NET 9, 10