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 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.
public : sealed class ProductPurchaseDisplayProperties : IProductPurchaseDisplayPropertiespublic sealed class ProductPurchaseDisplayProperties : IProductPurchaseDisplayPropertiesPublic NotInheritable Class ProductPurchaseDisplayProperties Implements IProductPurchaseDisplayProperties// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Constructors
ProductPurchaseDisplayProperties() ProductPurchaseDisplayProperties() ProductPurchaseDisplayProperties() ProductPurchaseDisplayProperties()
Creates an instance of ProductPurchaseDisplayProperties.
public : ProductPurchaseDisplayProperties()public ProductPurchaseDisplayProperties()Public Sub New()// You can use this method in JavaScript.
- See Also
ProductPurchaseDisplayProperties(String) ProductPurchaseDisplayProperties(String) ProductPurchaseDisplayProperties(String) ProductPurchaseDisplayProperties(String)
Creates an instance of ProductPurchaseDisplayProperties that includes the specified product name to display to the user.
public : ProductPurchaseDisplayProperties(PlatForm::String name)public ProductPurchaseDisplayProperties(String name)Public Sub New(name As String)// You can use this method in JavaScript.
- name
- PlatForm::String String String String
The product name displayed to the user.
Properties
Description Description Description Description
Windows Phone only. This is an internal product description.
public : PlatForm::String Description { get; set; }public string Description { get; set; }Public ReadWrite Property Description As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
Internal product description.
Image Image Image Image
Windows Phone only. Gets or sets the location of an image used to represent the product at time of purchase.
public : Uri Image { get; set; }public Uri Image { get; set; }Public ReadWrite Property Image As Uri// You can use this property in JavaScript.
- Value
- Uri Uri Uri Uri
The image location.
Name Name Name Name
Gets or sets the product name that is displayed to the user at time of purchase.
public : PlatForm::String Name { get; set; }public string Name { get; set; }Public ReadWrite Property Name As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The product name.