ProductPurchaseDisplayProperties ProductPurchaseDisplayProperties ProductPurchaseDisplayProperties ProductPurchaseDisplayProperties ProductPurchaseDisplayProperties Class

Definition

Used to provide the product name that is displayed to the user at time of purchase. This class is used in the creation of a RequestProductPurchaseAsync operation to visually represent a specific offer within a large catalog of in-app products, which is represented by a single product entry in the Microsoft Store.

Note

Windows Phone 8 developers can also display an image associated with the product by providing a URI with image for display and an internally consumed description.

public : sealed class ProductPurchaseDisplayProperties
struct winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties
public sealed class ProductPurchaseDisplayProperties
Public NotInheritable Class ProductPurchaseDisplayProperties
var productPurchaseDisplayProperties = new productPurchaseDisplayProperties();
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

ProductPurchaseDisplayProperties() ProductPurchaseDisplayProperties() ProductPurchaseDisplayProperties() ProductPurchaseDisplayProperties() ProductPurchaseDisplayProperties()

Creates an instance of ProductPurchaseDisplayProperties.

ProductPurchaseDisplayProperties(String) ProductPurchaseDisplayProperties(String) ProductPurchaseDisplayProperties(String) ProductPurchaseDisplayProperties(String) ProductPurchaseDisplayProperties(String)

Creates an instance of ProductPurchaseDisplayProperties that includes the specified product name to display to the user.

Properties

Description Description Description Description Description

Windows Phone only. This is an internal product description.

Image Image Image Image Image

Windows Phone only. Gets or sets the location of an image used to represent the product at time of purchase.

Name Name Name Name Name

Gets or sets the product name that is displayed to the user at time of purchase.