Condividi tramite


CurrencyAmount Classe

Definizione

Definisce le proprietà per specificare una valuta e la relativa quantità.

public ref class CurrencyAmount sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Globalization.ICurrencyAmountFactory, 524288, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CurrencyAmount final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Globalization.ICurrencyAmountFactory), 524288, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CurrencyAmount
function CurrencyAmount(amount, currency)
Public NotInheritable Class CurrencyAmount
Ereditarietà
Object Platform::Object IInspectable CurrencyAmount
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10, version 1903 (è stato introdotto in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v8.0)

Costruttori

CurrencyAmount(String, String)

Crea un nuovo oggetto CurrencyAmount (nell'importo e nella valuta specificati).

Proprietà

Amount

Importo.

Currency

Una valuta in genere usata in un paese specifico.

Si applica a

Vedi anche