Udostępnij za pośrednictwem


ChoiceFormat Constructors

Definition

Overloads

ChoiceFormat(String)

Constructs with limits and corresponding formats based on the pattern.

ChoiceFormat(Double[], String[])

Constructs with the limits and the corresponding formats.

ChoiceFormat(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

ChoiceFormat(String)

Constructs with limits and corresponding formats based on the pattern.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public ChoiceFormat (string? newPattern);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Text.ChoiceFormat : string -> Java.Text.ChoiceFormat

Parameters

newPattern
String

the new pattern string

Attributes

Exceptions

if an error occurs while parsing the pattern.

Remarks

Constructs with limits and corresponding formats based on the pattern.

Java documentation for java.text.ChoiceFormat.ChoiceFormat(java.lang.String).

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

ChoiceFormat(Double[], String[])

Constructs with the limits and the corresponding formats.

[Android.Runtime.Register(".ctor", "([D[Ljava/lang/String;)V", "")]
public ChoiceFormat (double[]? limits, string[]? formats);
[<Android.Runtime.Register(".ctor", "([D[Ljava/lang/String;)V", "")>]
new Java.Text.ChoiceFormat : double[] * string[] -> Java.Text.ChoiceFormat

Parameters

limits
Double[]

limits in ascending order

formats
String[]

corresponding format strings

Attributes

Remarks

Constructs with the limits and the corresponding formats.

Java documentation for java.text.ChoiceFormat.ChoiceFormat(double[], java.lang.String[]).

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

ChoiceFormat(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected ChoiceFormat (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Text.ChoiceFormat : nativeint * Android.Runtime.JniHandleOwnership -> Java.Text.ChoiceFormat

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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