語言

InputConnectionWrapper.SetSelection(Int32, Int32) 方法

定義

待補充

[Android.Runtime.Register("setSelection", "(II)Z", "GetSetSelection_IIHandler")]
public virtual bool SetSelection(int start, int end);
[<Android.Runtime.Register("setSelection", "(II)Z", "GetSetSelection_IIHandler")>]
abstract member SetSelection : int * int -> bool
override this.SetSelection : int * int -> bool

參數

start
Int32

角色索引應該從選擇開始的位置。

end
Int32

字元索引應該在選擇結束的地方。

傳回

實作

屬性

備註

待補充

Java 文件 android.view.inputmethod.InputConnectionWrapper.setSelection(int, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於