Freigeben über


PluralFormat.SetNumberFormat(NumberFormat) Method

Definition

Sets the number format used by this formatter.

[Android.Runtime.Register("setNumberFormat", "(Landroid/icu/text/NumberFormat;)V", "GetSetNumberFormat_Landroid_icu_text_NumberFormat_Handler", ApiSince=24)]
public virtual void SetNumberFormat (Android.Icu.Text.NumberFormat? format);
[<Android.Runtime.Register("setNumberFormat", "(Landroid/icu/text/NumberFormat;)V", "GetSetNumberFormat_Landroid_icu_text_NumberFormat_Handler", ApiSince=24)>]
abstract member SetNumberFormat : Android.Icu.Text.NumberFormat -> unit
override this.SetNumberFormat : Android.Icu.Text.NumberFormat -> unit

Parameters

format
NumberFormat

the number format to use.

Attributes

Remarks

Sets the number format used by this formatter. You only need to call this if you want a different number format than the default formatter for the locale.

Java documentation for android.icu.text.PluralFormat.setNumberFormat(android.icu.text.NumberFormat).

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