ListingInformation.CurrencyCode 属性

定义

获取与用户市场关联的货币代码,例如 USDCAD

public:
 property Platform::String ^ CurrencyCode { Platform::String ^ get(); };
winrt::hstring CurrencyCode();
public string CurrencyCode { get; }
var string = listingInformation.currencyCode;
Public ReadOnly Property CurrencyCode As String

属性值

String

Platform::String

winrt::hstring

与用户市场关联的货币代码,例如 USDCAD

Windows 要求

设备系列
Windows 10 (在 10.0.10586.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v2.0 中引入)

注解

此属性返回的货币代码字符串符合 ISO 4217。

适用于