StorePreviewProductInfo.ProductId Property
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 the ID of the in-app product.
public:
property Platform::String ^ ProductId { Platform::String ^ get(); };
winrt::hstring ProductId();
public string ProductId { get; }
var string = storePreviewProductInfo.productId;
Public ReadOnly Property ProductId As String
Property Value
The ID of the in-app product. This corresponds to the StorePreviewSkuInfo.ProductId value for all SKUs of the in-app product.
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 StorePreviewProductInfo.ProductId value is generated by Microsoft.