Share via


ProductListing.FormattedBasePrice 屬性

定義

取得附加元件 (也稱為應用程式內產品或 IAP) 的基底價格,其格式適用于目前市場。

public:
 property Platform::String ^ FormattedBasePrice { Platform::String ^ get(); };
winrt::hstring FormattedBasePrice();
public string FormattedBasePrice { get; }
var string = productListing.formattedBasePrice;
Public ReadOnly Property FormattedBasePrice As String

屬性值

String

Platform::String

winrt::hstring

附加元件的基本價格,以及目前市場的適當格式設定。

Windows 需求

裝置系列
Windows 10 (已於 10.0.10586.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v2.0 引進)

備註

基本價格是附加元件的預設價格。 如果附加元件正在目前市場銷售,請使用 FormattedPrice 屬性來取得銷售價格。 如果附加元件不在銷售時, FormattedBasePrice 和 FormattedPrice 會傳回相同的值。

適用於