Language

StringSearch.Index Property

Definition

Return the current index in the text being searched.

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

Property Value

current index in the text being searched.

Attributes

Remarks

Returns the current index in the text being searched. After an unsuccessful forward search, the index is at the end of the target text, even though the search method returns DONE.

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