StoreProduct.ProductKind Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the type of the product. These values are currently supported: Application, Game, Consumable, UnmanagedConsumable, and Durable.
public:
property Platform::String ^ ProductKind { Platform::String ^ get(); };
winrt::hstring ProductKind();
public string ProductKind { get; }
var string = storeProduct.productKind;
Public ReadOnly Property ProductKind As String
Property Value
The type of the product.
Remarks
The following table provides definitions for the currently supported values. Additional values may be supported in the future.
String value | Description |
---|---|
Application | An app that belongs to any category other than Games. For more info, see Category and subcategory table. |
Game | An app that belongs to the Games category. For more info, see Category and subcategory table. |
Consumable | A Store-managed consumable add-on that can be purchased, used, and purchased again. Microsoft keeps track of the user's balance for these types of add-ons. |
UnmanagedConsumable | A developer-managed consumable add-on that can be purchased, used, and purchased again. Microsoft does not keep track of the user's balance for these types of add-ons; the developer is responsible for keeping track of the user's balance. |
Durable | An add-on that persists for the lifetime that you specify in Partner Center. By default, durable add-ons never expire, in which case they can only be purchased once. If you specify a particular duration for the add-on, the user can repurchase the add-on after it expires. Note A StoreProduct that represents a subscription add-on has the type Durable. |