UnicodeSentenceEnumerator Struct

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

Enumerates the sentences of a text. See Unicode.EnumerateSentenceBoundaries.

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

Properties

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

Gets the range of the current sentence 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 sentence.

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

public readonly UnicodeSentenceEnumerator GetEnumerator()

Returns

UnicodeSentenceEnumerator This instance.

Moves to the next sentence.

public bool MoveNext()

Returns

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