-api-id | -api-type |
---|---|
M:Windows.ApplicationModel.Payments.PaymentCurrencyAmount.#ctor(System.String,System.String,System.String) |
winrt method |
Creates a new PaymentCurrencyAmount object.
The monetary value. An exception will be thrown if this value doesn't match the following regex pattern.
^-?[0-9]+(\.[0-9]+)?$
The currency. Valid values are determined by currencySystem. For example, if currencySystem is urn:iso:std:iso:4217 then USD is a valid currency value.
Important
Validity of currency values are not enforced.
The currency system.