Share via


ListingInformation.FormattedPrice 屬性

定義

取得針對目前市場和貨幣格式化的應用程式購買價格。

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

屬性值

String

Platform::String

winrt::hstring

應用程式的購買價格,具有目前市場和貨幣的適當格式設定。

備註

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

適用於

另請參閱