NumberFormat.GetPattern(ULocale, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回提供的区域设置和选择的模式。
[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)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。