共用方式為


InputConnectionWrapper.ReplaceText Method

Definition

Overloads

ReplaceText(Int32, Int32, ICharSequence, Int32, TextAttribute)

To be added

ReplaceText(Int32, Int32, String, Int32, TextAttribute)

To be added

ReplaceText(Int32, Int32, ICharSequence, Int32, TextAttribute)

To be added

[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

Remarks

To be added

Java documentation for android.view.inputmethod.InputConnectionWrapper.replaceText(int, int, java.lang.CharSequence, int, android.view.inputmethod.TextAttribute).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

ReplaceText(Int32, Int32, String, Int32, TextAttribute)

To be added

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

Remarks

To be added

Java documentation for android.view.inputmethod.InputConnectionWrapper.replaceText(int, int, java.lang.CharSequence, int, android.view.inputmethod.TextAttribute).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to