Share via


ListingInformation.FormattedPrice Property

Definition

Gets the app's purchase price formatted for the current market and currency.

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

Property Value

String

Platform::String

winrt::hstring

The app's purchase price with the appropriate formatting for the current market and currency.

Remarks

If the app 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 app is not on sale, FormattedBasePrice and FormattedPrice return the same value.

Applies to

See also