语言

NumberFormat.GetPattern(ULocale, Int32) 方法

定义

返回提供的区域设置和选择的模式。

[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

参数

forLocale
ULocale

数据的区域设置。

choice
Int32

模式格式。

返回

模式

特性

注解

返回提供的区域设置和选择的模式。

Java文档android.icu.text.NumberFormat.getPattern(android.icu.util.ULocale, int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于