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

> MicrosoftGame.config 元素 - XboxCompatibility

# MicrosoftGame.config 元素 - XboxCompatibility

指定该游戏兼容的最大主机代次。开发者会在 XBOX One 游戏于 XBOX Series X|S 上以向后兼容模式运行时使用此元素。主要用途是访问增强功能，如额外内存。允许值为 "XboxOne"（行为类似普通的向后兼容游戏）和 "Scarlett"（允许向后兼容游戏访问增强功能）。

## 父元素

此元素的父元素为 VirtualMachine 元素。

## 要求

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

## 平台

此元素仅适用于主机设备。

## 行为

* 无属性。
* 默认值为 XboxOne。
* 允许值为 XboxOne 和 Scarlett。

## 备注

## 另请参阅

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


## Related topics

- [MicrosoftGame.config 元素 - VirtualMachine](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-virtualmachine.md)
- [MicrosoftGame.config Element - DlcCompatibility](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-dlccompatibility.md)
- [MicrosoftGame.config 元素 - RequiresXboxLive](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-requiresxboxlive.md)
- [MicrosoftGame.config 元素 - Resource](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-resource.md)
- [MicrosoftGame.config 元素 - Resources](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-resources.md)
