Transliterator.Transliterate 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
Transliterate(IReplaceable, Transliterator+Position, Int32) | |
Transliterate(IReplaceable, Transliterator+Position) | |
Transliterate(IReplaceable, Transliterator+Position, String) | |
Transliterate(IReplaceable) |
Transliterates an entire string in place. |
Transliterate(String) |
Transliterate an entire string and returns the result. |
Transliterate(IReplaceable, Int32, Int32) |
Transliterates a segment of a string, with optional filtering. |
Transliterate(IReplaceable, Transliterator+Position, Int32)
[Android.Runtime.Register("transliterate", "(Landroid/icu/text/Replaceable;Landroid/icu/text/Transliterator$Position;I)V", "", ApiSince=29)]
public void Transliterate (Android.Icu.Text.IReplaceable? text, Android.Icu.Text.Transliterator.Position? index, int insertion);
[<Android.Runtime.Register("transliterate", "(Landroid/icu/text/Replaceable;Landroid/icu/text/Transliterator$Position;I)V", "", ApiSince=29)>]
member this.Transliterate : Android.Icu.Text.IReplaceable * Android.Icu.Text.Transliterator.Position * int -> unit
Parameters
- text
- IReplaceable
- index
- Transliterator.Position
- insertion
- Int32
- Attributes
Applies to
Transliterate(IReplaceable, Transliterator+Position)
[Android.Runtime.Register("transliterate", "(Landroid/icu/text/Replaceable;Landroid/icu/text/Transliterator$Position;)V", "", ApiSince=29)]
public void Transliterate (Android.Icu.Text.IReplaceable? text, Android.Icu.Text.Transliterator.Position? index);
[<Android.Runtime.Register("transliterate", "(Landroid/icu/text/Replaceable;Landroid/icu/text/Transliterator$Position;)V", "", ApiSince=29)>]
member this.Transliterate : Android.Icu.Text.IReplaceable * Android.Icu.Text.Transliterator.Position -> unit
Parameters
- text
- IReplaceable
- index
- Transliterator.Position
- Attributes
Applies to
Transliterate(IReplaceable, Transliterator+Position, String)
[Android.Runtime.Register("transliterate", "(Landroid/icu/text/Replaceable;Landroid/icu/text/Transliterator$Position;Ljava/lang/String;)V", "", ApiSince=29)]
public void Transliterate (Android.Icu.Text.IReplaceable? text, Android.Icu.Text.Transliterator.Position? index, string? insertion);
[<Android.Runtime.Register("transliterate", "(Landroid/icu/text/Replaceable;Landroid/icu/text/Transliterator$Position;Ljava/lang/String;)V", "", ApiSince=29)>]
member this.Transliterate : Android.Icu.Text.IReplaceable * Android.Icu.Text.Transliterator.Position * string -> unit
Parameters
- text
- IReplaceable
- index
- Transliterator.Position
- insertion
- String
- Attributes
Applies to
Transliterate(IReplaceable)
Transliterates an entire string in place.
[Android.Runtime.Register("transliterate", "(Landroid/icu/text/Replaceable;)V", "", ApiSince=29)]
public void Transliterate (Android.Icu.Text.IReplaceable? text);
[<Android.Runtime.Register("transliterate", "(Landroid/icu/text/Replaceable;)V", "", ApiSince=29)>]
member this.Transliterate : Android.Icu.Text.IReplaceable -> unit
Parameters
- text
- IReplaceable
the string to be transliterated
- Attributes
Remarks
Transliterates an entire string in place. Convenience method.
Java documentation for android.icu.text.Transliterator.transliterate(android.icu.text.Replaceable)
.
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
Transliterate(String)
Transliterate an entire string and returns the result.
[Android.Runtime.Register("transliterate", "(Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=29)]
public string? Transliterate (string? text);
[<Android.Runtime.Register("transliterate", "(Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=29)>]
member this.Transliterate : string -> string
Parameters
- text
- String
the string to be transliterated
Returns
The transliterated text
- Attributes
Remarks
Transliterate an entire string and returns the result. Convenience method.
Java documentation for android.icu.text.Transliterator.transliterate(java.lang.String)
.
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
Transliterate(IReplaceable, Int32, Int32)
Transliterates a segment of a string, with optional filtering.
[Android.Runtime.Register("transliterate", "(Landroid/icu/text/Replaceable;II)I", "", ApiSince=29)]
public int Transliterate (Android.Icu.Text.IReplaceable? text, int start, int limit);
[<Android.Runtime.Register("transliterate", "(Landroid/icu/text/Replaceable;II)I", "", ApiSince=29)>]
member this.Transliterate : Android.Icu.Text.IReplaceable * int * int -> int
Parameters
- text
- IReplaceable
the string to be transliterated
- start
- Int32
the beginning index, inclusive; 0 <= start
<= limit
.
- limit
- Int32
the ending index, exclusive; start <= limit
<= text.length()
.
Returns
The new limit index. The text previously occupying [start,
limit)
has been transliterated, possibly to a string of a different
length, at [start,
<em>new-limit</em>)
, where
<em>new-limit</em> is the return value. If the input offsets are out of bounds,
the returned value is -1 and the input string remains unchanged.
- Attributes
Remarks
Transliterates a segment of a string, with optional filtering.
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.