ListingInformation.IsOnSale Property

Definition

Gets a value that indicates whether the app is on sale.

public:
 property bool IsOnSale { bool get(); };
bool IsOnSale();
public bool IsOnSale { get; }
var boolean = listingInformation.isOnSale;
Public ReadOnly Property IsOnSale As Boolean

Property Value

Boolean

bool

Returns true if the app 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 apps on sale, see Put apps and add-ons on sale.

Applies to

See also