ProductListing.FormattedPrice 屬性

定義

取得應用程式內產品的購買價格,其中包含目前市場的適當格式。

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

屬性值

String

Platform::String

winrt::hstring

目前市場具有適當格式的購買價格。

備註

如果應用程式內產品正在目前市場銷售,FormattedPrice 屬性會傳回銷售價格。 使用 FormattedBasePrice 屬性可取得預設價格。 如果應用程式內產品未銷售, FormattedBasePrice 和 FormattedPrice 會傳回相同的值。

適用於