Share via


Selection.GetSelectionEnd Method

Definition

Overloads

GetSelectionEnd(ICharSequence)

Return the offset of the selection edge or cursor, or -1 if there is no selection or cursor.

GetSelectionEnd(String)

Return the offset of the selection edge or cursor, or -1 if there is no selection or cursor.

GetSelectionEnd(ICharSequence)

Return the offset of the selection edge or cursor, or -1 if there is no selection or cursor.

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

Parameters

Returns

Attributes

Remarks

Return the offset of the selection edge or cursor, or -1 if there is no selection or cursor.

Java documentation for android.text.Selection.getSelectionEnd(java.lang.CharSequence).

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

GetSelectionEnd(String)

Return the offset of the selection edge or cursor, or -1 if there is no selection or cursor.

public static int GetSelectionEnd (string? text);
static member GetSelectionEnd : string -> int

Parameters

text
String

Returns

Remarks

Return the offset of the selection edge or cursor, or -1 if there is no selection or cursor.

Java documentation for android.text.Selection.getSelectionEnd(java.lang.CharSequence).

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