CaseMap.Upper.Apply 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
Apply(Locale, ICharSequence) |
Uppercases a string. |
Apply(Locale, String) |
Uppercases a string. |
Apply(Locale, ICharSequence, Object, Edits) |
Uppercases a string and optionally records edits (see |
Apply(Locale, String, Object, Edits) |
Uppercases a string and optionally records edits (see |
Apply(Locale, ICharSequence)
Uppercases a string.
[Android.Runtime.Register("apply", "(Ljava/util/Locale;Ljava/lang/CharSequence;)Ljava/lang/String;", "", ApiSince=29)]
public string? Apply (Java.Util.Locale? locale, Java.Lang.ICharSequence? src);
[<Android.Runtime.Register("apply", "(Ljava/util/Locale;Ljava/lang/CharSequence;)Ljava/lang/String;", "", ApiSince=29)>]
member this.Apply : Java.Util.Locale * Java.Lang.ICharSequence -> string
Parameters
- locale
- Locale
The locale ID. Can be null for Locale#getDefault
.
(See ULocale#toLocale
.)
- src
- ICharSequence
The original string.
Returns
the result string.
- Attributes
Remarks
Uppercases a string. Casing is locale-dependent and context-sensitive. The result may be longer or shorter than the original.
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
Apply(Locale, String)
Uppercases a string.
public string? Apply (Java.Util.Locale? locale, string? src);
member this.Apply : Java.Util.Locale * string -> string
Parameters
- locale
- Locale
The locale ID. Can be null for Locale#getDefault
.
(See ULocale#toLocale
.)
- src
- String
The original string.
Returns
the result string.
Remarks
Uppercases a string. Casing is locale-dependent and context-sensitive. The result may be longer or shorter than the original.
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
Apply(Locale, ICharSequence, Object, Edits)
Uppercases a string and optionally records edits (see #omitUnchangedText
).
[Android.Runtime.Register("apply", "(Ljava/util/Locale;Ljava/lang/CharSequence;Ljava/lang/Appendable;Landroid/icu/text/Edits;)Ljava/lang/Appendable;", "", ApiSince=29)]
[Java.Interop.JavaTypeParameters(new System.String[] { "A extends java.lang.Appendable" })]
public Java.Lang.Object? Apply (Java.Util.Locale? locale, Java.Lang.ICharSequence? src, Java.Lang.Object? dest, Android.Icu.Text.Edits? edits);
[<Android.Runtime.Register("apply", "(Ljava/util/Locale;Ljava/lang/CharSequence;Ljava/lang/Appendable;Landroid/icu/text/Edits;)Ljava/lang/Appendable;", "", ApiSince=29)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "A extends java.lang.Appendable" })>]
member this.Apply : Java.Util.Locale * Java.Lang.ICharSequence * Java.Lang.Object * Android.Icu.Text.Edits -> Java.Lang.Object
Parameters
- locale
- Locale
The locale ID. Can be null for Locale#getDefault
.
(See ULocale#toLocale
.)
- src
- ICharSequence
The original string.
- dest
- Object
A buffer for the result string. Must not be null.
- edits
- Edits
Records edits for index mapping, working with styled text, and getting only changes (if any). This function calls edits.reset() first. edits can be null.
Returns
dest with the result string (or only changes) appended.
- Attributes
Remarks
Uppercases a string and optionally records edits (see #omitUnchangedText
). Casing is locale-dependent and context-sensitive. The result may be longer or shorter than the original.
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
Apply(Locale, String, Object, Edits)
Uppercases a string and optionally records edits (see #omitUnchangedText
).
public Java.Lang.Object? Apply (Java.Util.Locale? locale, string? src, Java.Lang.Object? dest, Android.Icu.Text.Edits? edits);
member this.Apply : Java.Util.Locale * string * Java.Lang.Object * Android.Icu.Text.Edits -> Java.Lang.Object
Parameters
- locale
- Locale
The locale ID. Can be null for Locale#getDefault
.
(See ULocale#toLocale
.)
- src
- String
The original string.
- dest
- Object
A buffer for the result string. Must not be null.
- edits
- Edits
Records edits for index mapping, working with styled text, and getting only changes (if any). This function calls edits.reset() first. edits can be null.
Returns
dest with the result string (or only changes) appended.
Remarks
Uppercases a string and optionally records edits (see #omitUnchangedText
). Casing is locale-dependent and context-sensitive. The result may be longer or shorter than the original.
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.