語言

ChoiceFormat 建構函式

定義

多載

名稱 Description
ChoiceFormat(String)

根據模式,有極限與相應格式的構造。

ChoiceFormat(Double[], String[])

帶有極限及相應格式的構念。

ChoiceFormat(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

ChoiceFormat(String)

根據模式,有極限與相應格式的構造。

[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

參數

newPattern
String

新花樣繩

屬性

例外狀況

如果在解析模式時發生錯誤。

備註

根據模式,有極限與相應格式的構造。

java.text.ChoiceFormat.ChoiceFormat(java.lang.String)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

ChoiceFormat(Double[], String[])

帶有極限及相應格式的構念。

[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

參數

limits
Double[]

限制按升序排列

formats
String[]

對應格式字串

屬性

備註

帶有極限及相應格式的構念。

java.text.ChoiceFormat.ChoiceFormat(double[], java.lang.String[])Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

ChoiceFormat(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

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

參數

javaReference
IntPtr

nativeint

IntPtrA 包含一個 Java 原生介面(JNI)物件參考。

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於