ProductListing.IsOnSale ProductListing.IsOnSale ProductListing.IsOnSale ProductListing.IsOnSale ProductListing.IsOnSale Property

Definition

Gets a value that indicates whether the add-on (also called an in-app product or IAP) is on sale.

public : Platform::Boolean IsOnSale { get; }
bool IsOnSale();
public bool IsOnSale { get; }
Public ReadOnly Property IsOnSale As bool
var bool = productListing.isOnSale;

Property Value

bool bool bool

Returns true if the in-app product is on sale, and otherwise false.

Additional features and requirements

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

Remarks

For information about putting add-ons on sale, see Put apps and add-ons on sale.

See also