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

# FileType 要素 (MicrosoftGame.config)

> 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 リファレンス - 目次](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)
- [FileTypeAssociation 要素 (MicrosoftGame.config)](https://docs.xbox.com/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-filetypeassociation.md)
- [SupportedFileTypes 要素 (MicrosoftGame.config)](https://docs.xbox.com/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-supportedfiletypes.md)
- [Logo 要素 (MicrosoftGame.config)](https://docs.xbox.com/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-logo.md)
- [EditFlags 要素 (MicrosoftGame.config)](https://docs.xbox.com/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-editflags.md)
