CurrencyAmount Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| CurrencyAmount(Number, Currency) |
Constructs a new object given a number and a currency. |
| CurrencyAmount(Number, Currency) |
Constructs a new object given a number and a Java currency. |
| CurrencyAmount(Double, Currency) |
Constructs a new object given a double value and a currency. |
| CurrencyAmount(Double, Currency) |
Constructs a new object given a double value and a Java currency. |
| CurrencyAmount(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
CurrencyAmount(Number, Currency)
Constructs a new object given a number and a currency.
[Android.Runtime.Register(".ctor", "(Ljava/lang/Number;Landroid/icu/util/Currency;)V", "", ApiSince=24)]
public CurrencyAmount(Java.Lang.Number? number, Android.Icu.Util.Currency? currency);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Number;Landroid/icu/util/Currency;)V", "", ApiSince=24)>]
new Android.Icu.Util.CurrencyAmount : Java.Lang.Number * Android.Icu.Util.Currency -> Android.Icu.Util.CurrencyAmount
Parameters
- number
- Number
the number
- currency
- Currency
the currency
- Attributes
Remarks
Constructs a new object given a number and a currency.
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
CurrencyAmount(Number, Currency)
Constructs a new object given a number and a Java currency.
[Android.Runtime.Register(".ctor", "(Ljava/lang/Number;Ljava/util/Currency;)V", "", ApiSince=29)]
public CurrencyAmount(Java.Lang.Number? number, Java.Util.Currency? currency);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Number;Ljava/util/Currency;)V", "", ApiSince=29)>]
new Android.Icu.Util.CurrencyAmount : Java.Lang.Number * Java.Util.Currency -> Android.Icu.Util.CurrencyAmount
Parameters
- number
- Number
the number
- currency
- Currency
the currency
- Attributes
Remarks
Constructs a new object given a number and a Java currency.
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
CurrencyAmount(Double, Currency)
Constructs a new object given a double value and a currency.
[Android.Runtime.Register(".ctor", "(DLandroid/icu/util/Currency;)V", "", ApiSince=24)]
public CurrencyAmount(double number, Android.Icu.Util.Currency? currency);
[<Android.Runtime.Register(".ctor", "(DLandroid/icu/util/Currency;)V", "", ApiSince=24)>]
new Android.Icu.Util.CurrencyAmount : double * Android.Icu.Util.Currency -> Android.Icu.Util.CurrencyAmount
Parameters
- number
- Double
a double value
- currency
- Currency
the currency
- Attributes
Remarks
Constructs a new object given a double value and a currency.
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
CurrencyAmount(Double, Currency)
Constructs a new object given a double value and a Java currency.
[Android.Runtime.Register(".ctor", "(DLjava/util/Currency;)V", "", ApiSince=29)]
public CurrencyAmount(double number, Java.Util.Currency? currency);
[<Android.Runtime.Register(".ctor", "(DLjava/util/Currency;)V", "", ApiSince=29)>]
new Android.Icu.Util.CurrencyAmount : double * Java.Util.Currency -> Android.Icu.Util.CurrencyAmount
Parameters
- number
- Double
a double value
- currency
- Currency
the currency
- Attributes
Remarks
Constructs a new object given a double value and a Java currency.
Java documentation for android.icu.util.CurrencyAmount.CurrencyAmount(double, java.util.Currency).
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
CurrencyAmount(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
protected CurrencyAmount(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Icu.Util.CurrencyAmount : nativeint * Android.Runtime.JniHandleOwnership -> Android.Icu.Util.CurrencyAmount
Parameters
- javaReference
-
IntPtr
nativeint
A JNI reference to the Java object.
- transfer
- JniHandleOwnership
Specifies whether ownership of the JNI reference transfers to this instance.
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.