แก้ไข

แชร์ผ่าน


MemoryExtensions.SpanSplitEnumerator<T> Struct

Definition

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

public: generic <typename T>
 where T : IEquatable<T>value class MemoryExtensions::SpanSplitEnumerator
public ref struct MemoryExtensions.SpanSplitEnumerator<T> where T : IEquatable<T>
type MemoryExtensions.SpanSplitEnumerator<'T (requires 'T :> IEquatable<'T>)> = struct
Public Structure MemoryExtensions.SpanSplitEnumerator(Of 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