Share via


StoreContext.GetStoreProductForCurrentAppAsync Method

Definition

Gets Microsoft Store listing info for the current app and provides access to a method that you can use to purchase the app for the current user.

public:
 virtual IAsyncOperation<StoreProductResult ^> ^ GetStoreProductForCurrentAppAsync() = GetStoreProductForCurrentAppAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StoreProductResult> GetStoreProductForCurrentAppAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StoreProductResult> GetStoreProductForCurrentAppAsync();
function getStoreProductForCurrentAppAsync()
Public Function GetStoreProductForCurrentAppAsync () As IAsyncOperation(Of StoreProductResult)

Returns

An asynchronous operation that, on successful completion, returns a StoreProductResult object that contains Microsoft Store listing info for the current app and any 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

See also