Partager via


NumberFormat.GetPattern(ULocale, Int32) Method

Definition

Returns the pattern for the provided locale and choice.

[Android.Runtime.Register("getPattern", "(Landroid/icu/util/ULocale;I)Ljava/lang/String;", "", ApiSince=24)]
protected static string? GetPattern (Android.Icu.Util.ULocale? forLocale, int choice);
[<Android.Runtime.Register("getPattern", "(Landroid/icu/util/ULocale;I)Ljava/lang/String;", "", ApiSince=24)>]
static member GetPattern : Android.Icu.Util.ULocale * int -> string

Parameters

forLocale
ULocale

the locale of the data.

choice
Int32

the pattern format.

Returns

the pattern

Attributes

Remarks

Returns the pattern for the provided locale and choice.

Java documentation for android.icu.text.NumberFormat.getPattern(android.icu.util.ULocale, int).

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