-api-id | -api-type |
---|---|
T:Windows.Services.Store.StoreProduct |
winrt class |
Represents a product that is available in the Microsoft Store.
Products in the Store are organized in a hierarcy of product, SKU, and availability objects. Products are represented by StoreProduct objects. The SKUs for each product are represented by StoreSku objects, and the availabilities for each SKU are represented by StoreAvailability objects. For more information, see In-app purchases and trials.
To retrieve a StoreProduct object for the current app, use the GetStoreProductForCurrentAppAsync method.
To retrieve StoreProduct objects for products that can be purchased from within the current app, use these methods.