Share via


SearchIterator.SetIndex(Int32) Method

Definition

Sets the position in the target text at which the next search will start.

[Android.Runtime.Register("setIndex", "(I)V", "GetSetIndex_IHandler", ApiSince=24)]
public virtual void SetIndex (int position);
[<Android.Runtime.Register("setIndex", "(I)V", "GetSetIndex_IHandler", ApiSince=24)>]
abstract member SetIndex : int -> unit
override this.SetIndex : int -> unit

Parameters

position
Int32

position from which to start the next search

Attributes

Remarks

Sets the position in the target text at which the next search will start. This method clears any previous match.

Java documentation for android.icu.text.SearchIterator.setIndex(int).

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