Windows Dev Center

ProductLicense.IsConsumable | isConsumable property

Indicates if the in-app product is consumable. A consumable product is a product that can be purchased, used, and purchased again.

Syntax


var isConsumable = productLicense.isConsumable;

Property value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

true if the product is a consumable; Otherwise, false.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.ApplicationModel.Store
Windows::ApplicationModel::Store [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.ApplicationModel.Store
Windows::ApplicationModel::Store [C++]

Metadata

Windows.winmd

See also

ProductLicense

 

 

Show:
© 2015 Microsoft