Share via


UScript.GetCode Method

Definition

Overloads

GetCode(ULocale)
GetCode(Locale)
GetCode(String)

GetCode(ULocale)

[Android.Runtime.Register("getCode", "(Landroid/icu/util/ULocale;)[I", "", ApiSince=24)]
public static int[]? GetCode (Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("getCode", "(Landroid/icu/util/ULocale;)[I", "", ApiSince=24)>]
static member GetCode : Android.Icu.Util.ULocale -> int[]

Parameters

locale
ULocale

Returns

Int32[]
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

GetCode(Locale)

[Android.Runtime.Register("getCode", "(Ljava/util/Locale;)[I", "", ApiSince=24)]
public static int[]? GetCode (Java.Util.Locale? locale);
[<Android.Runtime.Register("getCode", "(Ljava/util/Locale;)[I", "", ApiSince=24)>]
static member GetCode : Java.Util.Locale -> int[]

Parameters

locale
Locale

Returns

Int32[]
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

GetCode(String)

[Android.Runtime.Register("getCode", "(Ljava/lang/String;)[I", "", ApiSince=24)]
public static int[]? GetCode (string? nameOrAbbrOrLocale);
[<Android.Runtime.Register("getCode", "(Ljava/lang/String;)[I", "", ApiSince=24)>]
static member GetCode : string -> int[]

Parameters

nameOrAbbrOrLocale
String

Returns

Int32[]
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