共用方式為


IEditable.Insert Method

Definition

Overloads

Insert(Int32, ICharSequence)

Convenience for replace(where, where, text, 0, text.

Insert(Int32, ICharSequence, Int32, Int32)

Convenience for replace(where, where, text, start, end)

Insert(Int32, ICharSequence)

Convenience for replace(where, where, text, 0, text.

[Android.Runtime.Register("insert", "(ILjava/lang/CharSequence;)Landroid/text/Editable;", "GetInsert_ILjava_lang_CharSequence_Handler:Android.Text.IEditableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Text.IEditable? Insert (int where, Java.Lang.ICharSequence? text);
[<Android.Runtime.Register("insert", "(ILjava/lang/CharSequence;)Landroid/text/Editable;", "GetInsert_ILjava_lang_CharSequence_Handler:Android.Text.IEditableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Insert : int * Java.Lang.ICharSequence -> Android.Text.IEditable

Parameters

where
Int32

Returns

Attributes

Remarks

Convenience for replace(where, where, text, 0, text.length());

Java documentation for android.text.Editable.insert(int, java.lang.CharSequence).

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.

See also

  • <xref:Android.Text.IEditable.Replace(System.Int32%2c+System.Int32%2c+System.Int32%2c+System.Int32%2c+System.Int32)>

Applies to

Insert(Int32, ICharSequence, Int32, Int32)

Convenience for replace(where, where, text, start, end)

[Android.Runtime.Register("insert", "(ILjava/lang/CharSequence;II)Landroid/text/Editable;", "GetInsert_ILjava_lang_CharSequence_IIHandler:Android.Text.IEditableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Text.IEditable? Insert (int where, Java.Lang.ICharSequence? text, int start, int end);
[<Android.Runtime.Register("insert", "(ILjava/lang/CharSequence;II)Landroid/text/Editable;", "GetInsert_ILjava_lang_CharSequence_IIHandler:Android.Text.IEditableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Insert : int * Java.Lang.ICharSequence * int * int -> Android.Text.IEditable

Parameters

where
Int32
start
Int32
end
Int32

Returns

Attributes

Remarks

Convenience for replace(where, where, text, start, end)

Java documentation for android.text.Editable.insert(int, java.lang.CharSequence, int, int).

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.

See also

  • <xref:Android.Text.IEditable.Replace(System.Int32%2c+System.Int32%2c+System.Int32%2c+System.Int32%2c+System.Int32)>

Applies to