ProductListing.FormattedBasePrice ProductListing.FormattedBasePrice ProductListing.FormattedBasePrice ProductListing.FormattedBasePrice 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 : Platform::String FormattedBasePrice { get; }
winrt::hstring FormattedBasePrice();
public string FormattedBasePrice { get; }
Public ReadOnly Property FormattedBasePrice As string
var string = productListing.formattedBasePrice;

Property Value

string string string

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

Additional features and requirements

Device family
Windows 10 (introduced v10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)

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.