ActionMode.SetTextSelection 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| 속성 | Description |
|---|---|
| SetTextSelection(ICharSequence, Int32, Int32, LocaleList) |
ActionMode가 처리할 텍스트 선택 데이터를 전달합니다. |
| SetTextSelection(String, Int32, Int32, LocaleList) |
ActionMode가 처리할 텍스트 선택 데이터를 전달합니다. |
SetTextSelection(ICharSequence, Int32, Int32, LocaleList)
ActionMode가 처리할 텍스트 선택 데이터를 전달합니다.
[Android.Runtime.Register("setTextSelection", "(Ljava/lang/CharSequence;IILandroid/os/LocaleList;)V", "GetSetTextSelection_Ljava_lang_CharSequence_IILandroid_os_LocaleList_Handler", ApiSince=37)]
public virtual void SetTextSelection(Java.Lang.ICharSequence? text, int start, int end, Android.OS.LocaleList locales);
[<Android.Runtime.Register("setTextSelection", "(Ljava/lang/CharSequence;IILandroid/os/LocaleList;)V", "GetSetTextSelection_Ljava_lang_CharSequence_IILandroid_os_LocaleList_Handler", ApiSince=37)>]
abstract member SetTextSelection : Java.Lang.ICharSequence * int * int * Android.OS.LocaleList -> unit
override this.SetTextSelection : Java.Lang.ICharSequence * int * int * Android.OS.LocaleList -> unit
매개 변수
- text
- ICharSequence
텍스트 보기의 텍스트입니다. 텍스트가 비어 있거나 null이면 clearTextSelection()을 호출하는 것과 동일한 이전 텍스트 선택 및 해당 작업 분류 결과를 지웁니다.
- start
- Int32
선택 영역의 시작입니다. 이 매개 변수가 < 0 또는 > 끝인 경우 IllegalArgumentException을 throw합니다.
- end
- Int32
선택 영역의 끝입니다. 이 매개 변수가 < 0이거나 < 시작되면 IllegalArgumentException이 throw됩니다.
- locales
- LocaleList
텍스트/보기/선택 영역의 로캘입니다. 비어 있으면 기본/알 수 없는 로캘이 사용됩니다.
- 특성
적용 대상
SetTextSelection(String, Int32, Int32, LocaleList)
ActionMode가 처리할 텍스트 선택 데이터를 전달합니다.
public void SetTextSelection(string? text, int start, int end, Android.OS.LocaleList locales);
member this.SetTextSelection : string * int * int * Android.OS.LocaleList -> unit
매개 변수
- text
- String
텍스트 보기의 텍스트입니다. 텍스트가 비어 있거나 null이면 clearTextSelection()을 호출하는 것과 동일한 이전 텍스트 선택 및 해당 작업 분류 결과를 지웁니다.
- start
- Int32
선택 영역의 시작입니다. 이 매개 변수가 < 0 또는 > 끝인 경우 IllegalArgumentException을 throw합니다.
- end
- Int32
선택 영역의 끝입니다. 이 매개 변수가 < 0이거나 < 시작되면 IllegalArgumentException이 throw됩니다.
- locales
- LocaleList
텍스트/보기/선택 영역의 로캘입니다. 비어 있으면 기본/알 수 없는 로캘이 사용됩니다.