> ## 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.

# XStoreProduct

> XStoreProduct

# XStoreProduct

ストア製品を表します。

## Syntax

```cpp theme={null}
typedef struct XStoreProduct {  
    const char* storeId;  
    const char* title;  
    const char* description;  
    const char* language;  
    const char* inAppOfferToken;  
    char* linkUri;  
    XStoreProductKind productKind;  
    XStorePrice price;  
    bool hasDigitalDownload;  
    bool isInUserCollection;  
    uint32_t keywordsCount;  
    const char** keywords;  
    uint32_t skusCount;  
    XStoreSku* skus;  
    uint32_t imagesCount;  
    XStoreImage* images;  
    uint32_t videosCount;  
    XStoreVideo* videos;  
} XStoreProduct  
```

### Members

*storeId*\
型: const char\*

製品 ID。

*title*\
型: const char\*

製品のタイトル。

*description*\
型: const char\*

ストア製品の説明。

*language*\
型: const char\*

タイトルと説明文の言語を表す国際標準化機構 (ISO) 識別子。[https://msdn.microsoft.com/library/ms693062(v=vs.85).aspx](https://msdn.microsoft.com/library/ms693062\(v=vs.85\).aspx) を参照してください。

*inAppOfferToken*\
型: const char\*

内部的にアイテムをマッピングするために使用できる、ゲーム定義のオファー トークン。例: com.company.product.itemname。

*linkUri*\
型: char\*

製品への URI。

*productKind*\
型: [XStoreProductKind](https://docs.xbox.com/ja-jp/reference/system/xstore/enums/xstoreproductkind.md)

ストア製品の種類を示します。

*price*\
型: [XStorePrice](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoreprice.md)

ストア製品の価格情報。

*hasDigitalDownload*\
型: bool

ストア製品にデジタル ダウンロードがあるかどうかを示します。

*isInUserCollection*\
型: bool

製品がユーザーのコレクションに含まれているかどうかを示します。

*keywordsCount*\
型: uint32\_t

**keywords** 内のキーワード数。

*keywords*\
型: const char\*\*

ストア製品に関連付けられているキーワード。

*skusCount*\
型: uint32\_t

**skus** 内の SKU 数。

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

製品に関連付けられている SKU の配列。

*imagesCount*\
型: uint32\_t

**images** 内の画像数。

*images*\
型: [XStoreImage\*](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoreimage.md)

製品に関連付けられている画像。

*videosCount*\
型: uint32\_t

**videos** 内の動画数。

*videos*\
型: [XStoreVideo\*](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstorevideo.md)

製品に関連付けられている動画。

## Remarks

ストア内の製品は、*製品*、*SKU*、および *可用性* オブジェクトの階層で整理されています。製品は **XStoreProduct** オブジェクトで表されます。各製品の SKU は [XStoreSku](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoresku.md) オブジェクトで表され、各 SKU の可用性は [XStoreAvailability](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoreavailability.md) オブジェクトで表されます。

## Requirements

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

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

## Conceptual documentation

* [基本的なストア操作](https://docs.xbox.com/ja-jp/publishing/xstore-commerce/xstore-basic-operations.md)
* [プレイヤーにアドオン コンテンツへのアクセス許可を付与する](https://docs.xbox.com/ja-jp/publishing/xstore-commerce/xstore-granting-access.md)
* [ダウンロード可能なコンテンツ (DLC) の管理およびライセンス](https://docs.xbox.com/ja-jp/publishing/xstore-commerce/xstore-dlc.md)

## See also

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


## Related topics

- [XStoreProductKind](https://docs.xbox.com/ja-jp/reference/system/xstore/enums/xstoreproductkind.md)
- [XStoreProductQueryCallback](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreproductquerycallback.md)
- [XStoreAvailability](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoreavailability.md)
- [XStoreSku](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoresku.md)
- [XStoreVideo](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstorevideo.md)
