StoreContext.GetAssociatedStoreProductsAsync(IIterable<String>) Method
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 Microsoft Store listing info for the products that can be purchased from within the current app.
public:
virtual IAsyncOperation<StoreProductQueryResult ^> ^ GetAssociatedStoreProductsAsync(IIterable<Platform::String ^> ^ productKinds) = GetAssociatedStoreProductsAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StoreProductQueryResult> GetAssociatedStoreProductsAsync(IIterable<winrt::hstring> const& productKinds);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StoreProductQueryResult> GetAssociatedStoreProductsAsync(IEnumerable<string> productKinds);
function getAssociatedStoreProductsAsync(productKinds)
Public Function GetAssociatedStoreProductsAsync (productKinds As IEnumerable(Of String)) As IAsyncOperation(Of StoreProductQueryResult)
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.
An asynchronous operation that, on successful completion, returns a StoreProductQueryResult that provides access to the associated products and relevant error info.
- Attributes
For more information about using this method, including a code example, see Get product info for apps and add-ons.
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 |