Share via


BreakIterator.SetText(String) Method

Definition

Set a new text string to be scanned.

[Android.Runtime.Register("setText", "(Ljava/lang/String;)V", "GetSetText_Ljava_lang_String_Handler")]
public virtual void SetText (string? newText);
[<Android.Runtime.Register("setText", "(Ljava/lang/String;)V", "GetSetText_Ljava_lang_String_Handler")>]
abstract member SetText : string -> unit
override this.SetText : string -> unit

Parameters

newText
String

new text to scan.

Attributes

Remarks

Set a new text string to be scanned. The current scan position is reset to first().

Java documentation for java.text.BreakIterator.setText(java.lang.String).

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.

Applies to