TextUtils.GetOffsetBefore Method

Definition

Overloads

GetOffsetBefore(ICharSequence, Int32)
GetOffsetBefore(String, Int32)

GetOffsetBefore(ICharSequence, Int32)

[Android.Runtime.Register("getOffsetBefore", "(Ljava/lang/CharSequence;I)I", "")]
public static int GetOffsetBefore (Java.Lang.ICharSequence? text, int offset);
[<Android.Runtime.Register("getOffsetBefore", "(Ljava/lang/CharSequence;I)I", "")>]
static member GetOffsetBefore : Java.Lang.ICharSequence * int -> int

Parameters

offset
Int32

Returns

Attributes

Remarks

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

GetOffsetBefore(String, Int32)

public static int GetOffsetBefore (string? text, int offset);
static member GetOffsetBefore : string * int -> int

Parameters

text
String
offset
Int32

Returns

Remarks

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