共用方式為


PluralRules.ForLocale Method

Definition

Overloads

ForLocale(ULocale)
ForLocale(Locale)
ForLocale(ULocale, PluralRules+PluralType)
ForLocale(Locale, PluralRules+PluralType)

ForLocale(ULocale)

[Android.Runtime.Register("forLocale", "(Landroid/icu/util/ULocale;)Landroid/icu/text/PluralRules;", "", ApiSince=24)]
public static Android.Icu.Text.PluralRules? ForLocale (Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("forLocale", "(Landroid/icu/util/ULocale;)Landroid/icu/text/PluralRules;", "", ApiSince=24)>]
static member ForLocale : Android.Icu.Util.ULocale -> Android.Icu.Text.PluralRules

Parameters

locale
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

ForLocale(Locale)

[Android.Runtime.Register("forLocale", "(Ljava/util/Locale;)Landroid/icu/text/PluralRules;", "", ApiSince=24)]
public static Android.Icu.Text.PluralRules? ForLocale (Java.Util.Locale? locale);
[<Android.Runtime.Register("forLocale", "(Ljava/util/Locale;)Landroid/icu/text/PluralRules;", "", ApiSince=24)>]
static member ForLocale : Java.Util.Locale -> Android.Icu.Text.PluralRules

Parameters

locale
Locale

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

ForLocale(ULocale, PluralRules+PluralType)

[Android.Runtime.Register("forLocale", "(Landroid/icu/util/ULocale;Landroid/icu/text/PluralRules$PluralType;)Landroid/icu/text/PluralRules;", "", ApiSince=24)]
public static Android.Icu.Text.PluralRules? ForLocale (Android.Icu.Util.ULocale? locale, Android.Icu.Text.PluralRules.PluralType? type);
[<Android.Runtime.Register("forLocale", "(Landroid/icu/util/ULocale;Landroid/icu/text/PluralRules$PluralType;)Landroid/icu/text/PluralRules;", "", ApiSince=24)>]
static member ForLocale : Android.Icu.Util.ULocale * Android.Icu.Text.PluralRules.PluralType -> Android.Icu.Text.PluralRules

Parameters

locale
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

ForLocale(Locale, PluralRules+PluralType)

[Android.Runtime.Register("forLocale", "(Ljava/util/Locale;Landroid/icu/text/PluralRules$PluralType;)Landroid/icu/text/PluralRules;", "", ApiSince=24)]
public static Android.Icu.Text.PluralRules? ForLocale (Java.Util.Locale? locale, Android.Icu.Text.PluralRules.PluralType? type);
[<Android.Runtime.Register("forLocale", "(Ljava/util/Locale;Landroid/icu/text/PluralRules$PluralType;)Landroid/icu/text/PluralRules;", "", ApiSince=24)>]
static member ForLocale : Java.Util.Locale * Android.Icu.Text.PluralRules.PluralType -> Android.Icu.Text.PluralRules

Parameters

locale
Locale

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