Share via


StorePreviewSkuInfo.ProductId Property

Definition

Gets the ID of the product that this SKU is associated with.

public:
 property Platform::String ^ ProductId { Platform::String ^ get(); };
winrt::hstring ProductId();
public string ProductId { get; }
var string = storePreviewSkuInfo.productId;
Public ReadOnly Property ProductId As String

Property Value

String

Platform::String

winrt::hstring

The ID of the product that this SKU is associated with. This corresponds to the StorePreviewProductInfo.ProductId value.

Remarks

This property value is not the same as the Windows.ApplicationModel.Store.ProductListing.ProductId value. Windows.ApplicationModel.Store.ProductListing.ProductId is specified by the developer as they create an in-app product in Partner Center. The StorePreviewSkuInfo.ProductId value is generated by Microsoft.

Applies to