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

> MicrosoftGame.config 要素 - FileType

# MicrosoftGame.config 要素 - FileType

SupportedFileTypes 要素の一部として使用するファイル タイプ拡張子を指定します。

## 親要素

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

## 要件

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

## プラットフォーム

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

## 動作

* 属性は ContentType です。
* FileType および ContentType 属性には既定値はありません。
* FileType で使用できる値は最大 64 文字の文字列です。ContentType 属性では [RFC 4288](https://www.ietf.org/rfc/rfc4288.txt) 標準に一致する文字列が許可されます。

## 解説

FileType の値は、ファイル拡張子を表す、先頭のドットと最大 64 文字の非空白文字で構成されます。例としては .map や .world などがあります。

## 関連項目

[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 要素 - SupportedFileTypes](/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-supportedfiletypes.md)
- [MicrosoftGame.config 要素 - Logo](/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-logo.md)
- [MicrosoftGame.config 要素 - DisplayName](/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-displayname.md)
- [MicrosoftGame.config 要素 - EditFlags](/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-editflags.md)
