> ## 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 元素 - StoreId

> MicrosoftGame.config 元素 - StoreId

# MicrosoftGame.config 元素 - StoreId

指定该游戏的商店标识。在合作伙伴中心的 Product Management -> Product Identity 中指定。

## 父元素

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

## 要求

此元素为可选项，不要求必须设置。

## 平台

此元素适用于 PC 和主机。

## 行为

* 无属性。
* 无默认值。
* 允许值为从合作伙伴中心派生的 StoreId。

## 备注

* StoreId 长度为 12 个字符（字母数字值）。
* MicrosoftGame.config 中的 StoreId 元素必须与合作伙伴中心中的值匹配。[MicrosoftGame.config 编辑器](/build/core-features/common/game-config/MicrosoftGameConfig-Editor)提供了一个名为 Store Association Wizard 的工具，可自动将本地 .config 中的 MSAAppId（以及其他 ID 值）与合作伙伴中心中该产品的现有值同步。

## 另请参阅

[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 元素 - AllowedProducts](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-allowedproducts.md)
- [MicrosoftGame.config 元素 - TitleId](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-titleid.md)
- [MicrosoftGame.config Element - MSAAppId](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-msaappid.md)
- [MicrosoftGame.config 元素 - AdvancedUserModel](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-advancedusermodel.md)
