Partager via


ChoiceFormat.GetFormats Method

Definition

Returns the strings associated with the ranges of this ChoiceFormat.

[Android.Runtime.Register("getFormats", "()[Ljava/lang/Object;", "GetGetFormatsHandler")]
public virtual Java.Lang.Object[]? GetFormats ();
[<Android.Runtime.Register("getFormats", "()[Ljava/lang/Object;", "GetGetFormatsHandler")>]
abstract member GetFormats : unit -> Java.Lang.Object[]
override this.GetFormats : unit -> Java.Lang.Object[]

Returns

Object[]

a copy of the String[] array supplied to the constructor or the most recent call to #setChoices(double[], String[]).

Attributes

Remarks

Java documentation for java.text.ChoiceFormat.getFormats().

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