StoreCollectionData クラス

定義

ユーザーが使用する権利を持つ製品 SKU の追加データを提供します。

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

Windows の要件

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

注釈

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

プロパティ

AcquiredDate

製品 SKU が取得された日付を取得します。

CampaignId

製品 SKU に関連付けられているプロモーション キャンペーン ID を取得します。

DeveloperOfferId

製品 SKU に関連付けられている開発者オファー ID を取得します。

EndDate

SKU が試用版の場合、または設定された期間後に有効期限が切れる永続的なアドオンである場合は、製品 SKU の試用版の終了日を取得します。

ExtendedJsonData

製品 SKU の完全な収集データを JSON 形式で取得します。

IsTrial

製品 SKU が試用版かどうかを示す値を取得します。

StartDate

SKU が試用版であるか、設定された期間が経過した後に有効期限が切れる永続的なアドオンである場合は、製品 SKU の試用版の開始日を取得します。

TrialTimeRemaining

この製品 SKU に関連付けられている使用量制限のある試用版の残りの試用時間を取得します。

適用対象