UnicodeGraphemeClusterEnumerator Struct

  • Obsolete: Types with embedded references are not supported in this version of your compiler.

Enumerates the extended grapheme clusters of a text. See Unicode.EnumerateGraphemeClusters.

[Obsolete("Types with embedded references are not supported in this version of your compiler.", true)]
public ref struct UnicodeGraphemeClusterEnumerator

Properties

NameDescription
CurrentGets the range of the current cluster in the text.

Gets the range of the current cluster in the text.

public readonly Range Current { get; }

Property value

Range

Methods

NameDescription
GetEnumerator()Returns this instance, so that the enumerator can be used by a foreach statement.
MoveNext()Moves to the next cluster.

Returns this instance, so that the enumerator can be used by a foreach statement.

public readonly UnicodeGraphemeClusterEnumerator GetEnumerator()

Returns

UnicodeGraphemeClusterEnumerator This instance.

Moves to the next cluster.

public bool MoveNext()

Returns

bool true when there is a cluster; false at the end of the text.