BaseInputConnection.ReplaceText Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
| Имя | Описание |
|---|---|
| ReplaceText(Int32, Int32, String, Int32, TextAttribute) | |
| ReplaceText(Int32, Int32, ICharSequence, Int32, TextAttribute) |
ReplaceText(Int32, Int32, String, Int32, TextAttribute)
public bool ReplaceText(int start, int end, string text, int newCursorPosition, Android.Views.InputMethods.TextAttribute? textAttribute);
abstract member ReplaceText : int * int * string * int * Android.Views.InputMethods.TextAttribute -> bool
override this.ReplaceText : int * int * string * int * Android.Views.InputMethods.TextAttribute -> bool
Параметры
- start
- Int32
- end
- Int32
- text
- String
- newCursorPosition
- Int32
- textAttribute
- TextAttribute
Возвращаемое значение
Реализации
Применяется к
ReplaceText(Int32, Int32, ICharSequence, Int32, TextAttribute)
[Android.Runtime.Register("replaceText", "(IILjava/lang/CharSequence;ILandroid/view/inputmethod/TextAttribute;)Z", "GetReplaceText_IILjava_lang_CharSequence_ILandroid_view_inputmethod_TextAttribute_Handler", ApiSince=34)]
public virtual bool ReplaceText(int start, int end, Java.Lang.ICharSequence text, int newCursorPosition, Android.Views.InputMethods.TextAttribute? textAttribute);
[<Android.Runtime.Register("replaceText", "(IILjava/lang/CharSequence;ILandroid/view/inputmethod/TextAttribute;)Z", "GetReplaceText_IILjava_lang_CharSequence_ILandroid_view_inputmethod_TextAttribute_Handler", ApiSince=34)>]
abstract member ReplaceText : int * int * Java.Lang.ICharSequence * int * Android.Views.InputMethods.TextAttribute -> bool
override this.ReplaceText : int * int * Java.Lang.ICharSequence * int * Android.Views.InputMethods.TextAttribute -> bool
Параметры
- start
- Int32
- end
- Int32
- text
- ICharSequence
- newCursorPosition
- Int32
- textAttribute
- TextAttribute
Возвращаемое значение
Реализации
- Атрибуты