ChoiceFormat 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | 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
參數
- transfer
- JniHandleOwnership
JniHandleOwnershipA 指示如何處理javaReference
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。