次の方法で共有


CurrencyFormatter.Currency プロパティ

定義

Note

Windows 8.1後のリリースでは、通貨を読み取り専用にすることができます。 代わりに、新しい CurrencyFormatter を使用します

通貨値の書式設定と解析に使用する通貨の識別子を取得します。

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

プロパティ値

String

Platform::String

winrt::hstring

通貨値を書式設定および解析するときに使用する通貨識別子。

属性

適用対象