FormattedPrice | formattedPrice property

ProductListing.FormattedPrice | formattedPrice property

Gets the purchase price for the in-app product with the appropriate formatting for the current market.

Syntax


Public ReadOnly Property FormattedPrice As String

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

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.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.ApplicationModel.Store
Windows::ApplicationModel::Store [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.ApplicationModel.Store
Windows::ApplicationModel::Store [C++]

Metadata

Windows.winmd

See also

ProductListing

 

 

Show:
© 2016 Microsoft