IEditableExtensions.Insert Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Insert(IEditable, Int32, String) |
Inserts a string into editable text. |
| Insert(IEditable, Int32, String, Int32, Int32) |
Inserts a selected string range into editable text. |
Insert(IEditable, Int32, String)
Inserts a string into editable text.
public static Android.Text.IEditable? Insert(this Android.Text.IEditable self, int where, string? text);
static member Insert : Android.Text.IEditable * int * string -> Android.Text.IEditable
Parameters
- self
- IEditable
The editable text to modify.
- where
- Int32
The buffer offset at which to insert text.
- text
- String
The string to insert.
Returns
The editable object returned by the insertion operation.
Remarks
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
Insert(IEditable, Int32, String, Int32, Int32)
Inserts a selected string range into editable text.
public static Android.Text.IEditable? Insert(this Android.Text.IEditable self, int where, string? text, int start, int end);
static member Insert : Android.Text.IEditable * int * string * int * int -> Android.Text.IEditable
Parameters
- self
- IEditable
The editable text to modify.
- where
- Int32
The buffer offset at which to insert text.
- text
- String
The string that contains the range to insert.
- start
- Int32
The first source character index to include.
- end
- Int32
The source index at which the range stops, excluding that character.
Returns
The editable object returned by the insertion operation.
Remarks
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.