共用方式為


ULocale.GetDisplayVariant Method

Definition

Overloads

GetDisplayVariant(ULocale)
GetDisplayVariant(String, ULocale)
GetDisplayVariant(String, String)

GetDisplayVariant(ULocale)

[Android.Runtime.Register("getDisplayVariant", "(Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)]
public string? GetDisplayVariant (Android.Icu.Util.ULocale? displayLocale);
[<Android.Runtime.Register("getDisplayVariant", "(Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)>]
member this.GetDisplayVariant : Android.Icu.Util.ULocale -> string

Parameters

displayLocale
ULocale

Returns

Attributes

Remarks

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

GetDisplayVariant(String, ULocale)

[Android.Runtime.Register("getDisplayVariant", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetDisplayVariant (string? localeID, Android.Icu.Util.ULocale? displayLocale);
[<Android.Runtime.Register("getDisplayVariant", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)>]
static member GetDisplayVariant : string * Android.Icu.Util.ULocale -> string

Parameters

localeID
String
displayLocale
ULocale

Returns

Attributes

Remarks

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

GetDisplayVariant(String, String)

[Android.Runtime.Register("getDisplayVariant", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetDisplayVariant (string? localeID, string? displayLocaleID);
[<Android.Runtime.Register("getDisplayVariant", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)>]
static member GetDisplayVariant : string * string -> string

Parameters

localeID
String
displayLocaleID
String

Returns

Attributes

Remarks

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