Freigeben über


CollationElementIterator.Reset Method

Definition

Resets the cursor to the beginning of the string.

[Android.Runtime.Register("reset", "()V", "", ApiSince=24)]
public void Reset ();
[<Android.Runtime.Register("reset", "()V", "", ApiSince=24)>]
member this.Reset : unit -> unit
Attributes

Remarks

Resets the cursor to the beginning of the string. The next call to next() or previous() will return the first and last collation element in the string, respectively.

If the RuleBasedCollator used by this iterator has had its attributes changed, calling reset() will reinitialize the iterator to use the new attributes.

Java documentation for android.icu.text.CollationElementIterator.reset().

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