CurrencyAmount Classe

Définition

Définit des propriétés pour spécifier une devise et son montant.

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
Héritage
Object Platform::Object IInspectable CurrencyAmount
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10, version 1903 (introduit dans 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v8.0)

Constructeurs

CurrencyAmount(String, String)

Crée un objet CurrencyAmount (dans le montant et la devise spécifiés).

Propriétés

Amount

Un montant.

Currency

Devise en usage général dans un pays spécifique.

S’applique à

Voir aussi