> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XStoreCollectionData

> XStoreCollectionData

# XStoreCollectionData

特定の SKU に対するユーザーの権利を表します。

## Syntax

```cpp theme={null}
typedef struct XStoreCollectionData {  
    time_t acquiredDate;  
    time_t startDate;  
    time_t endDate;  
    bool isTrial;  
    uint32_t trialTimeRemainingInSeconds;  
    uint32_t quantity;  
    const char* campaignId;  
    const char* developerOfferId;  
} XStoreCollectionData  
```

### Members

*acquiredDate*\
型: time\_t

権利が取得された日付。

*startDate*\
型: time\_t

権利の開始日。

*endDate*\
型: time\_t

権利が終了する日付。

*isTrial*\
型: bool

権利が試用版であるかどうかを示します。

*trialTimeRemainingInSeconds*\
型: uint32\_t

試用版の残り時間。

*quantity*\
型: uint32\_t

権利の項目数。消費型の場合、これは残高を表します。

*campaignId*\
型: const char\*

権利のキャンペーン ID。

*developerOfferId*\
型: const char\*

開発者オファー ID。

## Remarks

**XStoreCollectionData** はストア製品の SKU (Stock Keeping Unit) に関する追加情報を提供します。**XStoreCollectionData** は多数の種類の製品または製品コレクションを参照する場合があります。そのため、SKU に該当しないフィールドには値が設定されていない場合があります。**XStoreCollectionData** は [StoreSku](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoresku.md) 構造体のメンバーです。

## Requirements

**ヘッダー:** XStore.h (XGameRuntime.h に含まれる)

**サポートされているプラットフォーム:** Windows、XBOX One ファミリー本体および XBOX Series 本体

## Conceptual documentation

* [ストア開発権利ツール (DevEntitlementTool.exe)](https://docs.xbox.com/ja-jp/tools/tools-services/live-dev-entitlements-tool.md)

## See also

[XStore](https://docs.xbox.com/ja-jp/reference/system/xstore/xstore_members.md)\
[XStoreSku](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoresku.md)


## Related topics

- [Store 開発エンタイトルメント ツール (DevEntitlementTool.exe)](https://docs.xbox.com/ja-jp/tools/tools-services/live-dev-entitlements-tool.md)
- [XStoreSku](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoresku.md)
- [XStore (API の内容)](https://docs.xbox.com/ja-jp/reference/system/xstore/xstore_members.md)
- [collections.mp.microsoft.com/v9.0/collections/publisherQuery](https://docs.xbox.com/ja-jp/reference/microsoft-store-apis/xstore-v9-query-for-products.md)
- [Consume Microsoft Store Entitlements](https://docs.xbox.com/api-reference/platform-specific-methods/consume-microsoft-store-entitlements.md)
