Прочитај на енглеском Уреди

Делите путем


MemoryExtensions.EnumerateRunes Method

Definition

Overloads

EnumerateRunes(Span<Char>)

Returns an enumeration of Rune from the provided span.

EnumerateRunes(ReadOnlySpan<Char>)

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

EnumerateRunes(Span<Char>)

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

Returns an enumeration of Rune from the provided span.

C#
[System.Runtime.CompilerServices.OverloadResolutionPriority(-1)]
public static System.Text.SpanRuneEnumerator EnumerateRunes(this Span<char> span);
C#
public static System.Text.SpanRuneEnumerator EnumerateRunes(this Span<char> span);

Parameters

span
Span<Char>

The source span.

Returns

A rune enumerator.

Attributes

Remarks

Invalid sequences will be represented in the enumeration by ReplacementChar.

Applies to

.NET 10 и друге верзије
Производ Верзије
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10

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.

C#
public static System.Text.SpanRuneEnumerator EnumerateRunes(this ReadOnlySpan<char> span);

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

.NET 10 и друге верзије
Производ Верзије
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10