共用方式為


NumberFormatterSettings.DisplayOptions(DisplayOptions) Method

Definition

Specifies the DisplayOptions.

[Android.Runtime.Register("displayOptions", "(Landroid/icu/text/DisplayOptions;)Landroid/icu/number/NumberFormatterSettings;", "GetDisplayOptions_Landroid_icu_text_DisplayOptions_Handler", ApiSince=35)]
public virtual Java.Lang.Object? DisplayOptions (Android.Icu.Text.DisplayOptions? displayOptions);
[<Android.Runtime.Register("displayOptions", "(Landroid/icu/text/DisplayOptions;)Landroid/icu/number/NumberFormatterSettings;", "GetDisplayOptions_Landroid_icu_text_DisplayOptions_Handler", ApiSince=35)>]
abstract member DisplayOptions : Android.Icu.Text.DisplayOptions -> Java.Lang.Object
override this.DisplayOptions : Android.Icu.Text.DisplayOptions -> Java.Lang.Object

Parameters

displayOptions
DisplayOptions

Returns

The fluent chain.

Attributes

Remarks

Specifies the DisplayOptions. For example, GrammaticalCase specifies the desired case for a unit formatter's output (e.g. accusative, dative, genitive).

Java documentation for android.icu.number.NumberFormatterSettings.displayOptions(android.icu.text.DisplayOptions).

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