InputConnectionWrapper.ReplaceText Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
| Имя | Описание |
|---|---|
| ReplaceText(Int32, Int32, ICharSequence, Int32, TextAttribute) |
Добавление |
| ReplaceText(Int32, Int32, String, Int32, 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
Возвращаемое значение
Реализации
- Атрибуты
Комментарии
Добавление
Части этой страницы — это изменения на основе работы, созданной и общей Project и используемых в соответствии с условиями, описанными в разделе "".
Применяется к
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
Возвращаемое значение
Реализации
Комментарии
Добавление
Части этой страницы — это изменения на основе работы, созданной и общей Project и используемых в соответствии с условиями, описанными в разделе "".