Uredi

Deli z drugimi prek


MemoryExtensions.EnumerateRunes Method

Definition

Overloads

EnumerateRunes(ReadOnlySpan<Char>)

Returns an enumeration of Rune from the provided read-only span.

EnumerateRunes(Span<Char>)

Returns an enumeration of Rune from the provided span.

EnumerateRunes(ReadOnlySpan<Char>)

Source:
MemoryExtensions.Globalization.cs
Source:
MemoryExtensions.Globalization.cs
Source:
MemoryExtensions.Globalization.cs

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

Parameters

span
ReadOnlySpan<Char>

The source span.

Returns

A rune enumerator.

Remarks

Invalid sequences will be represented in the enumeration by Rune.ReplacementChar.

Applies to

EnumerateRunes(Span<Char>)

Source:
MemoryExtensions.Globalization.cs
Source:
MemoryExtensions.Globalization.cs
Source:
MemoryExtensions.Globalization.cs

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

Parameters

span
Span<Char>

The source span.

Returns

A rune enumerator.

Remarks

Invalid sequences will be represented in the enumeration by ReplacementChar.

Applies to