StoreSubscriptionInfo クラス

定義

定期的な課金があるサブスクリプションを表す製品 SKU のサブスクリプション情報を提供します。

public ref class StoreSubscriptionInfo 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 StoreSubscriptionInfo 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 StoreSubscriptionInfo
Public NotInheritable Class StoreSubscriptionInfo
継承
Object Platform::Object IInspectable StoreSubscriptionInfo
属性

Windows の要件

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

注釈

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

プロパティ

BillingPeriod

BillingPeriodUnit プロパティで指定された単位で、サブスクリプションの請求期間の期間を取得します。

BillingPeriodUnit

サブスクリプションの請求期間の単位を取得します。

HasTrialPeriod

サブスクリプションに試用期間が含まれているかどうかを示す値を取得します。

TrialPeriod

TrialPeriodUnit プロパティで指定された単位で、サブスクリプションの試用期間を取得します。 サブスクリプションに試用期間があるかどうかを判断するには、 HasTrialPeriod プロパティを使用します。

TrialPeriodUnit

サブスクリプションの試用期間の単位を取得します。

適用対象

こちらもご覧ください