Share via


BaseInputConnection.ReplaceText Method

Definition

Overloads

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

Parameters

start
Int32
end
Int32
text
String
newCursorPosition
Int32
textAttribute
TextAttribute

Returns

Implements

Applies to

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

Parameters

start
Int32
end
Int32
newCursorPosition
Int32
textAttribute
TextAttribute

Returns

Implements

Attributes

Applies to