ULocale.GetDisplayNameWithDialect 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
GetDisplayNameWithDialect(String, String) |
<strong>[icu]</strong> Returns the locale ID localized for display in the provided locale. |
GetDisplayNameWithDialect(ULocale) |
<strong>[icu]</strong> Returns this locale name localized for display in the provided locale. |
GetDisplayNameWithDialect(String, ULocale) |
<strong>[icu]</strong> Returns the locale ID localized for display in the provided locale. |
GetDisplayNameWithDialect(String, String)
<strong>[icu]</strong> Returns the locale ID localized for display in the provided locale.
[Android.Runtime.Register("getDisplayNameWithDialect", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetDisplayNameWithDialect (string? localeID, string? displayLocaleID);
[<Android.Runtime.Register("getDisplayNameWithDialect", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)>]
static member GetDisplayNameWithDialect : string * string -> string
Parameters
- localeID
- String
the locale whose name is to be displayed.
- displayLocaleID
- String
the id of the locale in which to display the locale name.
Returns
the localized locale name.
- Attributes
Remarks
<strong>[icu]</strong> Returns the locale ID localized for display in the provided locale. If a dialect name is present in the locale data, then it is returned. 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
GetDisplayNameWithDialect(ULocale)
<strong>[icu]</strong> Returns this locale name localized for display in the provided locale.
[Android.Runtime.Register("getDisplayNameWithDialect", "(Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)]
public string? GetDisplayNameWithDialect (Android.Icu.Util.ULocale? displayLocale);
[<Android.Runtime.Register("getDisplayNameWithDialect", "(Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)>]
member this.GetDisplayNameWithDialect : Android.Icu.Util.ULocale -> string
Parameters
- displayLocale
- ULocale
the locale in which to display the locale name.
Returns
the localized locale name.
- Attributes
Remarks
<strong>[icu]</strong> Returns this locale name localized for display in the provided locale. If a dialect name is present in the locale data, then it is returned.
Java documentation for android.icu.util.ULocale.getDisplayNameWithDialect(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
GetDisplayNameWithDialect(String, ULocale)
<strong>[icu]</strong> Returns the locale ID localized for display in the provided locale.
[Android.Runtime.Register("getDisplayNameWithDialect", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetDisplayNameWithDialect (string? localeID, Android.Icu.Util.ULocale? displayLocale);
[<Android.Runtime.Register("getDisplayNameWithDialect", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)>]
static member GetDisplayNameWithDialect : string * Android.Icu.Util.ULocale -> string
Parameters
- localeID
- String
the locale whose name is to be displayed.
- displayLocale
- ULocale
the locale in which to display the locale name.
Returns
the localized locale name.
- Attributes
Remarks
<strong>[icu]</strong> Returns the locale ID localized for display in the provided locale. If a dialect name is present in the locale data, then it is returned. 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.