ULocale.GetDisplayNameWithDialect 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| GetDisplayNameWithDialect(String, String) |
<strong>[icu]</strong> 回傳當地 ID 以在指定地點顯示。 |
| GetDisplayNameWithDialect(ULocale) |
<strong>[icu]</strong> 回傳此區域名稱,並本地化並顯示於所提供的位置。 |
| GetDisplayNameWithDialect(String, ULocale) |
<strong>[icu]</strong> 回傳當地 ID 以在指定地點顯示。 |
GetDisplayNameWithDialect(String, String)
<strong>[icu]</strong> 回傳當地 ID 以在指定地點顯示。
[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
參數
- localeID
- String
標示地點名稱。
- displayLocaleID
- String
顯示地點名稱的地點識別碼。
傳回
當地名稱。
- 屬性
備註
<strong>[icu]</strong> 回傳當地 ID 以在指定地點顯示。 若方言名稱存在於地方資料中,則會回傳該方言名稱。 這是 ICU4C API 的封面。
Java 文件 android.icu.util.ULocale.getDisplayNameWithDialect(java.lang.String, java.lang.String)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
GetDisplayNameWithDialect(ULocale)
<strong>[icu]</strong> 回傳此區域名稱,並本地化並顯示於所提供的位置。
[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
參數
- displayLocale
- ULocale
顯示地點名稱的地點。
傳回
當地名稱。
- 屬性
備註
<strong>[icu]</strong> 回傳此區域名稱,並本地化並顯示於所提供的位置。 若方言名稱存在於地方資料中,則會回傳該方言名稱。
Java 文件 android.icu.util.ULocale.getDisplayNameWithDialect(android.icu.util.ULocale)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
GetDisplayNameWithDialect(String, ULocale)
<strong>[icu]</strong> 回傳當地 ID 以在指定地點顯示。
[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
參數
- localeID
- String
標示地點名稱。
- displayLocale
- ULocale
顯示地點名稱的地點。
傳回
當地名稱。
- 屬性
備註
<strong>[icu]</strong> 回傳當地 ID 以在指定地點顯示。 若方言名稱存在於地方資料中,則會回傳該方言名稱。 這是 ICU4C API 的封面。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。