AlteredCharSequence.Make 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 |
|---|---|
| Make(ICharSequence, Char[], Int32, Int32) |
Create an AlteredCharSequence whose text (and possibly spans)
are mirrored from |
| Make(String, Char[], Int32, Int32) |
Create an AlteredCharSequence whose text (and possibly spans)
are mirrored from |
Make(ICharSequence, Char[], Int32, Int32)
Create an AlteredCharSequence whose text (and possibly spans)
are mirrored from source, except that the range of
offsets substart inclusive to subend exclusive
are mirrored instead from sub, beginning at offset 0.
[Android.Runtime.Register("make", "(Ljava/lang/CharSequence;[CII)Landroid/text/AlteredCharSequence;", "")]
public static Android.Text.AlteredCharSequence? Make(Java.Lang.ICharSequence? source, char[]? sub, int substart, int subend);
[<Android.Runtime.Register("make", "(Ljava/lang/CharSequence;[CII)Landroid/text/AlteredCharSequence;", "")>]
static member Make : Java.Lang.ICharSequence * char[] * int * int -> Android.Text.AlteredCharSequence
Parameters
- source
- ICharSequence
The backing text for characters outside the substituted range.
- sub
- Char[]
The replacement characters, starting at array index zero.
- substart
- Int32
The first source character offset to read from the replacement array.
- subend
- Int32
The exclusive source offset at which replacement-array characters stop.
Returns
A new character-sequence view with the specified source and substitute array.
- Attributes
Remarks
Create an AlteredCharSequence whose text (and possibly spans) are mirrored from source, except that the range of offsets substart inclusive to subend exclusive are mirrored instead from sub, beginning at offset 0.
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
Make(String, Char[], Int32, Int32)
Create an AlteredCharSequence whose text (and possibly spans)
are mirrored from source, except that the range of
offsets substart inclusive to subend exclusive
are mirrored instead from sub, beginning at offset 0.
public static Android.Text.AlteredCharSequence? Make(string? source, char[]? sub, int substart, int subend);
static member Make : string * char[] * int * int -> Android.Text.AlteredCharSequence
Parameters
- source
- String
The backing string for characters outside the substituted range.
- sub
- Char[]
The replacement characters, starting at array index zero.
- substart
- Int32
The first source character offset to read from the replacement array.
- subend
- Int32
The exclusive source offset at which replacement-array characters stop.
Returns
A new character-sequence view with the specified source and substitute array.
Remarks
Create an AlteredCharSequence whose text (and possibly spans) are mirrored from source, except that the range of offsets substart inclusive to subend exclusive are mirrored instead from sub, beginning at offset 0.
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.