Condividi tramite


Locale.GetDisplayLanguage(Locale) Method

Definition

Returns the name of this locale's language, localized to locale.

[Android.Runtime.Register("getDisplayLanguage", "(Ljava/util/Locale;)Ljava/lang/String;", "")]
public string GetDisplayLanguage (Java.Util.Locale locale);
[<Android.Runtime.Register("getDisplayLanguage", "(Ljava/util/Locale;)Ljava/lang/String;", "")>]
member this.GetDisplayLanguage : Java.Util.Locale -> string

Parameters

locale
Locale

Returns

The name of the display language.

Attributes

Remarks

Returns the name of this locale's language, localized to locale. If the language name is unknown, the language code is returned.

Java documentation for java.util.Locale.getDisplayLanguage(java.util.Locale).

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