ProductListing.IsOnSale 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 a value that indicates whether the add-on (also called an in-app product or IAP) is on sale.
public:
property bool IsOnSale { bool get(); };
bool IsOnSale();
public bool IsOnSale { get; }
var boolean = productListing.isOnSale;
Public ReadOnly Property IsOnSale As Boolean
Property Value
Boolean
bool
Returns true if the in-app product is on sale, and otherwise false.
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10586.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v2.0)
|
Remarks
For information about putting add-ons on sale, see Put apps and add-ons on sale.