Compartir a través de


CurrencyFormatter.Currency Propiedad

Definición

Nota

La moneda puede ser de solo lectura para las versiones después de Windows 8.1. En su lugar, use un nuevo CurrencyFormatter.

Obtiene el identificador de la moneda que se va a usar para dar formato y analizar valores de moneda.

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

Valor de propiedad

String

Platform::String

winrt::hstring

Identificador de moneda que se va a usar al dar formato y analizar valores de moneda.

Atributos

Se aplica a