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

# MicrosoftGame.config 元素 - AllowedProducts

> MicrosoftGame.config 元素 - AllowedProducts

# MicrosoftGame.config 元素 - AllowedProducts

指定此可下载内容包 (DLC) 游戏所属的一个或多个关联游戏的 StoreId。有关详细信息，请参阅 [可下载内容包 (DLC)](/build/core-features/common/packaging/packaging-downloadable-content-dlc)

## 父元素

此元素的父元素为 Game 元素。

## 要求

此元素为可选，不必设置。

## 平台

此元素适用于 PC 和主机。

## 行为

* 无属性。
* 无默认值。
* 允许的值为源自合作伙伴中心 (Partner Center) 的 StoreId。

## 备注

StoreId 长度为 12 个字符（字母数字值）。

## 另请参阅

[MicrosoftGame.config 参考 - 目录](/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc)


## Related topics

- [MicrosoftGame.config 元素 - AllowedProduct](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-allowedproduct.md)
- [MicrosoftGame.config Element - RelatedProduct](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-relatedproduct.md)
- [MicrosoftGame.config Element - RelatedProducts](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-relatedproducts.md)
- [MicrosoftGame.config 元素 - StoreId](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-storeid.md)
- [MicrosoftGame.config 元素 - Resource](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-resource.md)
