Android Guides | Samples

Java.Lang.String.ToUpperCase Method

Converts this this string to upper case, using the rules of locale.

Syntax

[Android.Runtime.Register("toUpperCase", "(Ljava/util/Locale;)Ljava/lang/String;", "")]
public String ToUpperCase (Locale locale)

Parameters

locale

Remarks

Converts this this string to upper case, using the rules of locale.

Most case mappings are unaffected by the language of a Locale. Exceptions include dotted and dotless I in Azeri and Turkish locales, and dotted and dotless I and J in Lithuanian locales. On the other hand, it isn't necessary to provide a Greek locale to get correct case mapping of Greek characters: any locale will do.

See for full details of context- and language-specific special cases.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1