SearchIterator.Index Property

Definition

Return the current index in the text being searched.

public abstract int Index { [Android.Runtime.Register("getIndex", "()I", "GetGetIndexHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getIndex", "()I", "GetGetIndexHandler", ApiSince=24)>]
member this.Index : int

Property Value

current index in the text being searched.

Attributes

Remarks

Return the current index in the text being searched. If the iteration has gone past the end of the text (or past the beginning for a backwards search), DONE is returned.

Android reference for android.icu.text.SearchIterator.getIndex.

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