StoreContext.GetAssociatedStoreProductsAsync(IIterable<String>) StoreContext.GetAssociatedStoreProductsAsync(IIterable<String>) StoreContext.GetAssociatedStoreProductsAsync(IIterable<String>) StoreContext.GetAssociatedStoreProductsAsync(IIterable<String>) StoreContext.GetAssociatedStoreProductsAsync(IIterable<String>) Method

Definition

Gets Microsoft Store listing info for the products that can be purchased from within the current app.

public : IAsyncOperation<StoreProductQueryResult> GetAssociatedStoreProductsAsync(IIterable<Platform::String> productKinds)
IAsyncOperation<StoreProductQueryResult> GetAssociatedStoreProductsAsync(IIterable<winrt::hstring> productKinds) const;
public IAsyncOperation<StoreProductQueryResult> GetAssociatedStoreProductsAsync(IEnumerable<String> productKinds)
Public Function GetAssociatedStoreProductsAsync(productKinds As IEnumerable(Of String)) As IAsyncOperation(Of StoreProductQueryResult)
Windows.Services.Store.StoreContext.getAssociatedStoreProductsAsync(productKinds).done( /* Your success and error handlers */ );

Parameters

productKinds
IEnumerable<String> IEnumerable<String> IEnumerable<String>

An array of strings that specify the types of products you want to get. For a list of the supported string values, see the ProductKind property.

Returns

An asynchronous operation that, on successful completion, returns a StoreProductQueryResult that provides access to the associated products and relevant error info.

Remarks

For more information about using this method, including a code example, see Get product info for apps and add-ons.

See also