Język

CursorAnchorInfo.Builder.SetSelectionRange(Int32, Int32) Method

Definition

Sets the text range of the selection.

[Android.Runtime.Register("setSelectionRange", "(II)Landroid/view/inputmethod/CursorAnchorInfo$Builder;", "")]
public Android.Views.InputMethods.CursorAnchorInfo.Builder? SetSelectionRange(int newStart, int newEnd);
[<Android.Runtime.Register("setSelectionRange", "(II)Landroid/view/inputmethod/CursorAnchorInfo$Builder;", "")>]
member this.SetSelectionRange : int * int -> Android.Views.InputMethods.CursorAnchorInfo.Builder

Parameters

newStart
Int32
newEnd
Int32

Returns

Attributes

Remarks

Sets the text range of the selection. Calling this can be skipped if there is no selection.

Android reference for android.view.inputmethod.CursorAnchorInfo.Builder.setSelectionRange.

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