StoreContext.GetAssociatedStoreProductsAsync(IIterable<String>) Method
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 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)
Parameters
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.