0 out of 3 rated this helpful - Rate this topic

ProductListing class

Applies to Windows and Windows Phone

Provides localized info about an in-app offer in your app.

Syntax


public ref class ProductListing sealed 

Attributes

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

Members

The ProductListing class has these types of members:

Properties

The ProductListing class has these properties.

PropertyAccess typeDescription

Description

Read-onlyWindows Phone only. Gets the description for the product.

FormattedPrice

Read-onlyGets the app's purchase price with the appropriate formatting for the current market.

ImageUri

Read-onlyWindows Phone only. Gets the URI of the image associated with this product.

Keywords

Read-onlyWindows Phone only. Gets the list of keywords associated with this product. These keywords are useful for filtering product lists by keyword, for example, when calling LoadListingInformationByKeywordsAsync.

Name

Read-onlyGets the descriptive name of the product or feature that can be shown to customers in the current market.

ProductId

Read-onlyGets the ID of an app's feature or product.

ProductType

Read-onlyGets the type of this product. Possible values are defined by ProductType.

Tag

Read-onlyWindows Phone only. Gets the tag string that contains custom information about this product.

 

Remarks

You access this object by picking an element of the collection that the ProductListings property of the ListingInformation object returns as this code example shows.

No code example is currently available or this language may not be supported.

Examples

The code example here shows how to get the ListingInformation from simulated app data and then get the ProductListing object for one of the features offered by the app.

No code example is currently available or this language may not be supported.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

See also

ListingInformation
ProductListings

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.