> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.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](/reference/system/xstore/enums/xstoreproductkind)

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

*price*\
型: [XStorePrice](/reference/system/xstore/structs/xstoreprice)

ストア製品の価格情報。

*hasDigitalDownload*\
型: bool

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

*isInUserCollection*\
型: bool

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

*keywordsCount*\
型: uint32\_t

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

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

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

*skusCount*\
型: uint32\_t

**skus** 内の SKU 数。

*skus*\
型: [XStoreSku\*](/reference/system/xstore/structs/xstoresku)

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

*imagesCount*\
型: uint32\_t

**images** 内の画像数。

*images*\
型: [XStoreImage\*](/reference/system/xstore/structs/xstoreimage)

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

*videosCount*\
型: uint32\_t

**videos** 内の動画数。

*videos*\
型: [XStoreVideo\*](/reference/system/xstore/structs/xstorevideo)

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

## Remarks

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

## Requirements

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

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

## Conceptual documentation

* [基本的なストア操作](https://learn.microsoft.com/gaming/gdk/docs/store/commerce/fundamentals/xstore-basic-store-operations)
* [プレイヤーにアドオン コンテンツへのアクセス許可を付与する](https://learn.microsoft.com/gaming/gdk/docs/store/commerce/fundamentals/xstore-granting-access-to-content)
* [ダウンロード可能なコンテンツ (DLC) の管理およびライセンス](https://learn.microsoft.com/gaming/gdk/docs/store/commerce/fundamentals/xstore-manage-and-license-optional-packages)

## See also

[XStore](/reference/system/xstore/xstore_members)


## Related topics

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