Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


MemoryExtensions.SpanSplitEnumerator<T> Struct

Definition

Important

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.

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

Termék Verziók
.NET 9, 10