PaymentCurrencyAmount 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
這個類別描述與購買相關聯的貨幣值。 例如,費用或折扣。 這個類別反映 W3C PaymentCurrencyAmount 字典。
public ref class PaymentCurrencyAmount sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Payments.IPaymentCurrencyAmountFactory, 262144, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PaymentCurrencyAmount final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Payments.IPaymentCurrencyAmountFactory), 262144, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PaymentCurrencyAmount
function PaymentCurrencyAmount(value, currency, currencySystem)
Public NotInheritable Class PaymentCurrencyAmount
- 繼承
- 屬性
Windows 需求
裝置系列 |
Windows 10 Creators Update (已於 10.0.15063.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)
|
建構函式
PaymentCurrencyAmount(String, String) |
建立新的 PaymentCurrencyAmount 物件 |
PaymentCurrencyAmount(String, String, String) |
建立新的 PaymentCurrencyAmount 物件。 |
屬性
Currency |
貨幣識別碼。 |
CurrencySystem |
貨幣系統。 |
Value |
貨幣值。 |