ProductListing.IsOnSale Eigenschaft

Definition

Ruft einen Wert ab, der angibt, ob das Add-On (auch als In-App-Produkt oder IAP bezeichnet) im Angebot ist.

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

Eigenschaftswert

Boolean

bool

Gibt true zurück, wenn das In-App-Produkt im Verkauf ist, andernfalls false.

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v2.0)

Hinweise

Informationen zum Anbieten von Add-Ons finden Sie unter Put apps and add-ons ons on sale.

Gilt für:

Weitere Informationen