Share via


StorePreview.LoadAddOnProductInfosAsync Method

Definition

Retrieves the in-app products available for the current app asynchronously, including the available SKUs for each product.

public:
 static IAsyncOperation<IVectorView<StorePreviewProductInfo ^> ^> ^ LoadAddOnProductInfosAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<StorePreviewProductInfo>> LoadAddOnProductInfosAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<StorePreviewProductInfo>> LoadAddOnProductInfosAsync();
function loadAddOnProductInfosAsync()
Public Shared Function LoadAddOnProductInfosAsync () As IAsyncOperation(Of IReadOnlyList(Of StorePreviewProductInfo))

Returns

An asynchronous operation that, on successful completion, returns the collection of in-app products for the current app (including the available SKUs for each product). If you use Asynchronous programming, the result type is a read-only list/vector of StorePreviewProductInfo items. (You can use APIs of IVectorView<StorePreviewProductInfo> for C++ or JavaScript, APIs of IReadOnlyList<StorePreviewProductInfo> for .NET.)

Attributes

Windows requirements

App capabilities
previewStore

Applies to