ProductListing.FormattedBasePrice 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 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
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.