MemoryExtensions.EnumerateRunes MemoryExtensions.EnumerateRunes MemoryExtensions.EnumerateRunes MemoryExtensions.EnumerateRunes Method

定義

多載

EnumerateRunes(ReadOnlySpan<Char>) EnumerateRunes(ReadOnlySpan<Char>) EnumerateRunes(ReadOnlySpan<Char>) EnumerateRunes(ReadOnlySpan<Char>)

從所提供唯讀範圍傳回 Rune 的列舉。Returns an enumeration of Rune from the provided read-only span.

EnumerateRunes(Span<Char>) EnumerateRunes(Span<Char>) EnumerateRunes(Span<Char>) EnumerateRunes(Span<Char>)

從所提供範圍傳回 Rune 的列舉。Returns an enumeration of Rune from the provided span.

EnumerateRunes(ReadOnlySpan<Char>) EnumerateRunes(ReadOnlySpan<Char>) EnumerateRunes(ReadOnlySpan<Char>) EnumerateRunes(ReadOnlySpan<Char>)

從所提供唯讀範圍傳回 Rune 的列舉。Returns an enumeration of Rune from the provided read-only span.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Text::SpanRuneEnumerator EnumerateRunes(ReadOnlySpan<char> span);
public static System.Text.SpanRuneEnumerator EnumerateRunes (this ReadOnlySpan<char> span);
static member EnumerateRunes : ReadOnlySpan<char> -> System.Text.SpanRuneEnumerator
<Extension()>
Public Function EnumerateRunes (span As ReadOnlySpan(Of Char)) As SpanRuneEnumerator

參數

span
ReadOnlySpan<Char>

來源範圍。The source span.

傳回

備註

在列舉Rune.ReplacementChar中, 將會以不正確順序表示。Invalid sequences will be represented in the enumeration by Rune.ReplacementChar.

EnumerateRunes(Span<Char>) EnumerateRunes(Span<Char>) EnumerateRunes(Span<Char>) EnumerateRunes(Span<Char>)

從所提供範圍傳回 Rune 的列舉。Returns an enumeration of Rune from the provided span.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Text::SpanRuneEnumerator EnumerateRunes(Span<char> span);
public static System.Text.SpanRuneEnumerator EnumerateRunes (this Span<char> span);
static member EnumerateRunes : Span<char> -> System.Text.SpanRuneEnumerator
<Extension()>
Public Function EnumerateRunes (span As Span(Of Char)) As SpanRuneEnumerator

參數

span
Span<Char>

來源範圍。The source span.

傳回

備註

在列舉ReplacementChar中, 將會以不正確順序表示。Invalid sequences will be represented in the enumeration by ReplacementChar.

適用於