ProductPurchaseDisplayProperties class

Applies to Windows and Windows Phone

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 Windows 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.

Syntax


var productPurchaseDisplayProperties = new Windows.ApplicationModel.Store.ProductPurchaseDisplayProperties(string);
var productPurchaseDisplayProperties = new Windows.ApplicationModel.Store.ProductPurchaseDisplayProperties();

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]

Members

The ProductPurchaseDisplayProperties class has these types of members:

Constructors

The ProductPurchaseDisplayProperties class has these constructors.

ConstructorDescription
ProductPurchaseDisplayProperties Creates an instance of ProductPurchaseDisplayProperties.
ProductPurchaseDisplayProperties(String) Creates an instance of ProductPurchaseDisplayProperties that includes the specified product name to display to the user.

 

Properties

The ProductPurchaseDisplayProperties class has these properties.

PropertyAccess typeDescription

Description

Read/writeWindows Phone only. This is an internal product description.

Image

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

Name

Read/writeGets or sets the product name that is displayed to the user at time of purchase.

 

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.ApplicationModel.Store
Windows::ApplicationModel::Store [C++]

Metadata

Windows.winmd

See also

Object

 

 

Show:
© 2014 Microsoft