Freigeben über


CollationElementIterator.SetText Method

Definition

Overloads

SetText(UCharacterIterator)

Set a new source string iterator for iteration, and reset the offset to the beginning of the text.

SetText(ICharacterIterator)

Set a new source string iterator for iteration, and reset the offset to the beginning of the text.

SetText(String)

Set a new source string for iteration, and reset the offset to the beginning of the text.

SetText(UCharacterIterator)

Set a new source string iterator for iteration, and reset the offset to the beginning of the text.

[Android.Runtime.Register("setText", "(Landroid/icu/text/UCharacterIterator;)V", "", ApiSince=24)]
public void SetText (Android.Icu.Text.UCharacterIterator? source);
[<Android.Runtime.Register("setText", "(Landroid/icu/text/UCharacterIterator;)V", "", ApiSince=24)>]
member this.SetText : Android.Icu.Text.UCharacterIterator -> unit

Parameters

source
UCharacterIterator

the new source string iterator for iteration.

Attributes

Remarks

Set a new source string iterator for iteration, and reset the offset to the beginning of the text.

The source iterator's integrity will be preserved since a new copy will be created for use.

Java documentation for android.icu.text.CollationElementIterator.setText(android.icu.text.UCharacterIterator).

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

SetText(ICharacterIterator)

Set a new source string iterator for iteration, and reset the offset to the beginning of the text.

[Android.Runtime.Register("setText", "(Ljava/text/CharacterIterator;)V", "", ApiSince=24)]
public void SetText (Java.Text.ICharacterIterator? source);
[<Android.Runtime.Register("setText", "(Ljava/text/CharacterIterator;)V", "", ApiSince=24)>]
member this.SetText : Java.Text.ICharacterIterator -> unit

Parameters

source
ICharacterIterator

the new source string iterator for iteration.

Attributes

Remarks

Set a new source string iterator for iteration, and reset the offset to the beginning of the text.

Java documentation for android.icu.text.CollationElementIterator.setText(java.text.CharacterIterator).

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

SetText(String)

Set a new source string for iteration, and reset the offset to the beginning of the text.

[Android.Runtime.Register("setText", "(Ljava/lang/String;)V", "", ApiSince=24)]
public void SetText (string? source);
[<Android.Runtime.Register("setText", "(Ljava/lang/String;)V", "", ApiSince=24)>]
member this.SetText : string -> unit

Parameters

source
String

the new source string for iteration.

Attributes

Remarks

Set a new source string for iteration, and reset the offset to the beginning of the text.

Java documentation for android.icu.text.CollationElementIterator.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