ProductPurchaseDisplayProperties クラス

定義

購入時にユーザーに表示される製品名を指定するために使用されます。 このクラスは 、RequestProductPurchaseAsync 操作を作成する際に使用され、アプリ内製品の大規模なカタログ内の特定のオファーを視覚的に表します。これは、Microsoft Store の 1 つの製品エントリで表されます。

注意

Windows Phone 8 人の開発者は、表示用の画像と内部的に使用される説明を含む URI を提供することで、製品に関連付けられたイメージを表示することもできます。

public ref class ProductPurchaseDisplayProperties sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Store.IProductPurchaseDisplayPropertiesFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ProductPurchaseDisplayProperties final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Store.IProductPurchaseDisplayPropertiesFactory, 65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class ProductPurchaseDisplayProperties final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Store.IProductPurchaseDisplayPropertiesFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ProductPurchaseDisplayProperties
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Store.IProductPurchaseDisplayPropertiesFactory), 65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class ProductPurchaseDisplayProperties
function ProductPurchaseDisplayProperties(name)
Public NotInheritable Class ProductPurchaseDisplayProperties
継承
Object Platform::Object IInspectable ProductPurchaseDisplayProperties
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

コンストラクター

ProductPurchaseDisplayProperties()

ProductPurchaseDisplayProperties のインスタンスを作成します。

ProductPurchaseDisplayProperties(String)

ユーザーに表示する指定した製品名を含む ProductPurchaseDisplayProperties のインスタンスを作成します。

プロパティ

Description

Windows Phoneのみ。 これは内部製品の説明です。

Image

Windows Phoneのみ。 購入時に製品を表すために使用されるイメージの場所を取得または設定します。

Name

購入時にユーザーに表示される製品名を取得または設定します。

適用対象