> ## 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 要素 - EditFlags

> MicrosoftGame.config 要素 - EditFlags

# MicrosoftGame.config 要素 - EditFlags

File Type Association に対する Windows システム警告を制御する Edit Flags を指定します。

## 親要素

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

## 要件

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

## プラットフォーム

この要素は PC デバイスのみに関係します。

## 動作

* 属性は OpenIsSafe と AlwaysUnsafe です。
* OpenIsSafe および AlwaysUnsafe 属性の既定値は共に false です。
* OpenIsSafe および AlwaysUnsafe 属性で使用できる値は true と false です。

## 解説

AlwaysUnsafe が true に設定されている場合、不明なファイルを開くことに関する警告が Windows ダイアログ ボックスとして表示されます。
OpenIsSafe が true に設定されている場合、標準的な警告を含む Windows ダイアログ ボックスが表示されます。
両方が true に設定されている場合は、AlwaysUnsafe が優先されます。

## 関連項目

[MicrosoftGame.config リファレンス - 目次](/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc)


## Related topics

- [MicrosoftGame.config 要素 - FileTypeAssociation](/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-filetypeassociation.md)
- [MicrosoftGame.config 要素 - Game](/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-game.md)
- [MicrosoftGame.config 要素 - Resource](/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-resource.md)
- [MicrosoftGame.config 要素 - Resources](/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-resources.md)
- [MicrosoftGame.config 要素 - SCID](/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-scid.md)
