Share via


StoreContext.GetAssociatedStoreProductsAsync(IIterable<String>) Method

Definition

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

[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StoreProductQueryResult> GetAssociatedStoreProductsAsync(IEnumerable<string> productKinds);

Parameters

productKinds

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.

Attributes

Remarks

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

Applies to

Product Versions
WinRT Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100

See also