ProductListing.FormattedPrice Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the purchase price for the in-app product with the appropriate formatting for the current market.
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
Property Value
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.