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

# Protocol 要素 (MicrosoftGame.config)

> MicrosoftGame.config 要素 - Protocol

# MicrosoftGame.config 要素 - Protocol

ゲームの起動、または既に実行中の場合はゲームを前面に表示するために使用できるカスタム プロトコルを指定します。

## 親要素

この要素の親は ProtocolList 要素です。

## 要件

この要素は省略可能で、設定は必須ではありません。

## プラットフォーム

この要素は PC および Console に関係します。

## 動作

* 属性は次のとおりです:
  * Name - 必須で、次の要件を満たす必要があります:
    * 小文字の英数字およびハイフンのみを含む
    * 長さは最小 3 文字
    * 最大 39 文字
  * Executable - 省略可能。指定されていない場合は、ExecutableList 内の既定の実行可能ファイルが使用されます。パスを含める場合は、区切り文字としてバックスラッシュを使用します。

## 関連項目

[MicrosoftGame.config リファレンス - 目次](https://docs.xbox.com/ja-jp/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc.md)


## Related topics

- [MicrosoftGame.config 要素リファレンス (目次)](https://docs.xbox.com/ja-jp/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc.md)
- [MultiplayerProtocol 要素 (MicrosoftGame.config)](https://docs.xbox.com/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-multiplayerprotocol.md)
- [ProtocolList 要素 (MicrosoftGame.config)](https://docs.xbox.com/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-protocollist.md)
- [DesktopRegistration 要素 (MicrosoftGame.config)](https://docs.xbox.com/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-desktopregistration.md)
- [Game 要素 (MicrosoftGame.config)](https://docs.xbox.com/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-game.md)
