Jaa


ProductListing.FormattedBasePrice Property

Definition

Gets the base price for the add-on (also called an in-app product or IAP) with the appropriate formatting for the current market.

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

Property Value

String

Platform::String

winrt::hstring

The base price for the add-on with the appropriate formatting for the current market.

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Remarks

The base price is the default price for the add-on. If the add-on is on sale in the current market, use the FormattedPrice property to get the sale price. If the add-on is not on sale, FormattedBasePrice and FormattedPrice return the same value.

Applies to