Share via


StorePrice.IsOnSale Property

Definition

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

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

Property Value

Boolean

bool

True if the product is on sale; otherwise, false.

Applies to