BreakIterator.Text Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the character iterator for the text being analyzed.
public abstract Java.Text.ICharacterIterator? Text { [Android.Runtime.Register("getText", "()Ljava/text/CharacterIterator;", "GetGetTextHandler", ApiSince=24)] get; [Android.Runtime.Register("setText", "(Ljava/text/CharacterIterator;)V", "GetSetText_Ljava_text_CharacterIterator_Handler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getText", "()Ljava/text/CharacterIterator;", "GetGetTextHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setText", "(Ljava/text/CharacterIterator;)V", "GetSetText_Ljava_text_CharacterIterator_Handler", ApiSince=24)>]
member this.Text : Java.Text.ICharacterIterator with get, set
Property Value
A character iterator over the text being analyzed.
- Attributes
Remarks
The iterator returned by the getter is the actual iterator used by this break iterator. Do not modify its state while the break iterator is in use. Its position may differ from the break iterator's current position; clone it before examining the text.
Setting this property resets the break position to the start of the supplied iterator's text. The supplied iterator is used directly; do not modify it outside the break iterator while it is in use.
Android reference for android.icu.text.BreakIterator.getText.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.