FileType (package schema for Windows 8, descendant of FileTypeAssociation)

A supported file type specified as its file type extension.

Element hierarchy

<Package>
<Applications>
<Application>
<Extensions>
<Extension>
<FileTypeAssociation>
<SupportedFileTypes>
<FileType>

Syntax

<FileType ContentType? = A string that contains two components between 1 and 127 characters in length, separated by a forward slash ("/"). It follows the RFC 4288 naming requirements.  >

  A string between 1 and 64 characters in length that includes a period (".").

</FileType>

Key

?   optional (zero or one)

Attributes and Elements

Attributes

Attribute Description Data type Required Default value
ContentType

The content type.

A string that contains two components between 1 and 127 characters in length, separated by a forward slash ("/"). It follows the RFC 4288 naming requirements. No

 

Child Elements

None.

Parent Elements

Parent Element Description
SupportedFileTypes (type: CT_FTASupportedFileTypes)

Defines the file types associated with the app. They are unique per package and are case sensitive.

 

The following elements have the same name as this one, but different content or attributes:

Requirements

Value
Namespace http://schemas.microsoft.com/appx/2010/manifest