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

# DesktopRegistration 元素 (MicrosoftGame.config)

> MicrosoftGame.config 元素 - DesktopRegistration

# MicrosoftGame.config 元素 - DesktopRegistration

指定在 PC 桌面平台上註冊遊戲時要使用的屬性。

## 父系

此元素的父系是 Game 元素。

## 需求

此元素為選擇性，不需要設定。

## 平台

此元素僅適用於 PC 裝置。

## 行為

* 沒有屬性。
* 沒有預設值。
* 允許的值為下列子元素：
  * MainPackageDependency
  * ProcessorArchitecture
  * CustomInstallActions
  * ModFolder (已淘汰)
  * DisableRegistryWriteVirtualization (已淘汰)
  * DisableFilesystemWriteVirtualization (已淘汰)
  * EnableWritesToPackageRoot (已淘汰)
  * MultiplayerProtocol
  * FileTypeAssociation

## 備註

## 另請參閱

[MicrosoftGame.config 參考 - 目錄](https://docs.xbox.com/zh-TW/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc.md)


## Related topics

- [MicrosoftGame.config 元素參考 (內容)](https://docs.xbox.com/zh-TW/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc.md)
- [DependencyList 元素 (MicrosoftGame.config)](https://docs.xbox.com/zh-TW/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-dependencylist.md)
- [ModFolder 元素 (MicrosoftGame.config)](https://docs.xbox.com/zh-TW/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-modfolder.md)
- [MultiplayerProtocol 元素 (MicrosoftGame.config)](https://docs.xbox.com/zh-TW/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-multiplayerprotocol.md)
- [SaveGameStorage 元素 (MicrosoftGame.config)](https://docs.xbox.com/zh-TW/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-savegamestorage.md)
