ProductListing.FormattedPrice ProductListing.FormattedPrice ProductListing.FormattedPrice ProductListing.FormattedPrice ProductListing.FormattedPrice Property

Definition

Gets the purchase price for the in-app product with the appropriate formatting for the current market.

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

Property Value

string string string

The purchase price with the appropriate formatting for the current market.

Remarks

If the in-app product is on sale in the current market, the FormattedPrice property returns the sale price. Use the FormattedBasePrice property to get the default price. If the in-app product is not on sale, FormattedBasePrice and FormattedPrice return the same value.