Language

DisplayOptions.PluralCategory.FromIdentifier(String) Method

Definition

Looks up a plural-category option using an exact CLDR keyword.

[Android.Runtime.Register("fromIdentifier", "(Ljava/lang/String;)Landroid/icu/text/DisplayOptions$PluralCategory;", "", ApiSince=35)]
public static Android.Icu.Text.DisplayOptions.PluralCategory FromIdentifier(string identifier);
[<Android.Runtime.Register("fromIdentifier", "(Ljava/lang/String;)Landroid/icu/text/DisplayOptions$PluralCategory;", "", ApiSince=35)>]
static member FromIdentifier : string -> Android.Icu.Text.DisplayOptions.PluralCategory

Parameters

identifier
String

in lower case such as "few" or "other"

Returns

the plural category corresponding to the identifier, or UNDEFINED

Attributes

Remarks

Android reference for android.icu.text.DisplayOptions.PluralCategory.fromIdentifier.

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