Language

StorePrice クラス

定義

Microsoft Storeの製品一覧の価格情報が含まれます。

public ref class StorePrice sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Store.StoreContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StorePrice final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Store.StoreContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StorePrice
Public NotInheritable Class StorePrice
継承
Object Platform::Object IInspectable StorePrice
属性

Windows の要件

要件 説明
デバイス ファミリ
Windows 10 Anniversary Edition (10.0.14393.0 で導入)
API contract
Windows.Services.Store.StoreContract (v1.0 で導入)

注釈

StoreAvailability.Price、StoreProduct.Price、StoreSku.Price のプロパティは、この型のオブジェクトを返します。

プロパティ

Name 説明
CurrencyCode

現在のユーザーの市場の ISO 4217 通貨コードを取得します。

FormattedBasePrice

現在のユーザーの市場に適した書式を持つ製品の基本価格を取得します。

FormattedPrice

現在のユーザーの市場に適した書式を持つ製品の購入価格を取得します。

FormattedRecurrencePrice

この製品に対して定期請求が有効になっている場合、現在のユーザーの市場に適した書式を持つ製品の定期的な価格を取得します。

IsOnSale

製品が販売中かどうかを示す値を取得します。

SaleEndDate

製品が販売中の場合、製品の販売期間の終了日を取得します。

UnformattedBasePrice

Microsoft Storeの製品一覧の価格情報が含まれます。

UnformattedPrice

Microsoft Storeの製品一覧の価格情報が含まれます。

UnformattedRecurrencePrice

Microsoft Storeの製品一覧の価格情報が含まれます。

適用対象