ULocale.GetDisplayLanguage 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
GetDisplayLanguage(ULocale) |
Returns this locale's language localized for display in the provided locale. |
GetDisplayLanguage(String, ULocale) |
<strong>[icu]</strong> Returns a locale's language localized for display in the provided locale. |
GetDisplayLanguage(String, String) |
<strong>[icu]</strong> Returns a locale's language localized for display in the provided locale. |
GetDisplayLanguage(ULocale)
Returns this locale's language localized for display in the provided locale.
[Android.Runtime.Register("getDisplayLanguage", "(Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)]
public string? GetDisplayLanguage (Android.Icu.Util.ULocale? displayLocale);
[<Android.Runtime.Register("getDisplayLanguage", "(Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)>]
member this.GetDisplayLanguage : Android.Icu.Util.ULocale -> string
Parameters
- displayLocale
- ULocale
the locale in which to display the name.
Returns
the localized language name.
- Attributes
Remarks
Returns this locale's language localized for display in the provided locale.
Java documentation for android.icu.util.ULocale.getDisplayLanguage(android.icu.util.ULocale)
.
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
GetDisplayLanguage(String, ULocale)
<strong>[icu]</strong> Returns a locale's language localized for display in the provided locale.
[Android.Runtime.Register("getDisplayLanguage", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetDisplayLanguage (string? localeID, Android.Icu.Util.ULocale? displayLocale);
[<Android.Runtime.Register("getDisplayLanguage", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)>]
static member GetDisplayLanguage : string * Android.Icu.Util.ULocale -> string
Parameters
- localeID
- String
the id of the locale whose language will be displayed.
- displayLocale
- ULocale
the locale in which to display the name.
Returns
the localized language name.
- Attributes
Remarks
<strong>[icu]</strong> Returns a locale's language localized for display in the provided locale. This is a cover for the ICU4C API.
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
GetDisplayLanguage(String, String)
<strong>[icu]</strong> Returns a locale's language localized for display in the provided locale.
[Android.Runtime.Register("getDisplayLanguage", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetDisplayLanguage (string? localeID, string? displayLocaleID);
[<Android.Runtime.Register("getDisplayLanguage", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)>]
static member GetDisplayLanguage : string * string -> string
Parameters
- localeID
- String
the id of the locale whose language will be displayed
- displayLocaleID
- String
the id of the locale in which to display the name.
Returns
the localized language name.
- Attributes
Remarks
<strong>[icu]</strong> Returns a locale's language localized for display in the provided locale. This is a cover for the ICU4C API.
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.