Condividi tramite


CurrencyFormatter.Currency Proprietà

Definizione

Nota

La valuta può essere di sola lettura per le versioni dopo Windows 8.1. Usare invece un nuovo CurrencyFormatter.

Ottiene l'identificatore della valuta da utilizzare per la formattazione e l'analisi dei valori di valuta.

public:
 property Platform::String ^ Currency { Platform::String ^ get(); void set(Platform::String ^ value); };
/// [set: Windows.Foundation.Metadata.Deprecated("Currency may be read-only for releases after Windows 8.1. Instead, use a new CurrencyFormatter.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
winrt::hstring Currency();

void Currency(winrt::hstring value);
/// [set: Windows.Foundation.Metadata.Deprecated("Currency may be read-only for releases after Windows 8.1. Instead, use a new CurrencyFormatter.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
winrt::hstring Currency();

void Currency(winrt::hstring value);
public string Currency { get; [Windows.Foundation.Metadata.Deprecated("Currency may be read-only for releases after Windows 8.1. Instead, use a new CurrencyFormatter.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] set; }
public string Currency { get; [Windows.Foundation.Metadata.Deprecated("Currency may be read-only for releases after Windows 8.1. Instead, use a new CurrencyFormatter.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] set; }
var string = currencyFormatter.currency;
currencyFormatter.currency = string;
Public Property Currency As String

Valore della proprietà

String

Platform::String

winrt::hstring

Identificatore di valuta da utilizzare per la formattazione e l'analisi dei valori di valuta.

Attributi

Si applica a