> ## 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 요소 - FileTypeAssociation

> MicrosoftGame.config 요소 - FileTypeAssociation

# MicrosoftGame.config 요소 - FileTypeAssociation

파일 형식을 패키지의 실행 파일과 연결할 수 있습니다. 예로는 타이틀의 맵 편집기용 특정 확장자가 있습니다.

## 상위 요소

이 요소의 상위는 DesktopRegistration 요소입니다.

## 요구 사항

이 요소는 선택 사항이며 설정할 필요가 없습니다.

## 플랫폼

이 요소는 PC 디바이스에만 해당됩니다.

## 동작

* 특성은 Name과 Executable입니다.
* Name 특성에는 기본값이 없습니다.
* Executable 특성은 기본적으로 타이틀의 ExecutableList 요소에 있는 첫 번째 실행 파일로 설정됩니다.
* Name 특성에 허용되는 값은 공백이 없는 최대 100자의 소문자 문자열입니다.
* Executable 특성에 허용되는 값은 Executable 요소의 Name과 일치해야 하는 실행 파일 이름입니다.
* 허용되는 값은 다음의 하위 요소입니다.
  * DisplayName
  * Logo
  * InfoTip
  * EditFlags
  * SupportedFileTypes

## 설명

### FileTypeAssociation 예제

FileTypeAssociation은 DesktopRegistration 노드의 하위 요소입니다. PC에서 실행 파일과 연결된 추가 파일 사용을 활성화하는 데 사용할 수 있습니다. 이의 주요 사용 사례는 사용자 지정 모드 또는 맵입니다. 이 구현의 예제는 다음을 참조하세요.

```xml theme={null}
<FileTypeAssociation Name="MyModExtension">
  <DisplayName>ExampleFriendlyName</DisplayName>
  <EditFlags OpenIsSafe="true" AlwaysUnsafe="false">
  <InfoTip>ExampleInfo</InfoTip>
  <Logo>ExampleLogo.png</Logo>
  <SupportedFileTypes>
    <FileType>.mod</FileType>
  </SupportedFileTypes>
  <Executable>MyGame.exe</Executable>
</FileTypeAssociation>
```

## 함께 보기

[MicrosoftGame.config 참조 - 목차](/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc)


## Related topics

- [MicrosoftGame.config Element - SupportedFileTypes](/ko/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-supportedfiletypes.md)
- [MicrosoftGame.config 요소 - DisplayName](/ko/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-displayname.md)
- [MicrosoftGame.config 요소 - InfoTip](/ko/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-infotip.md)
- [MicrosoftGame.config 요소 - EditFlags](/ko/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-editflags.md)
- [MicrosoftGame.config 요소 - DesktopRegistration](/ko/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-desktopregistration.md)
