FileType (extensions schema for Windows 8.1, descendant of ShareTarget)

A file type specified as its file type extension. It is unique per application in the package and is case sensitive.

Element hierarchy

<Extension>
<ShareTarget>
<SupportedFileTypes>
<FileType>
<FileOpenPicker>
<SupportedFileTypes>
<FileType>
<FileSavePicker>
<SupportedFileTypes>
<FileType>

Syntax

<FileType>

  A string between 1 and 64 characters in length that must begin with a period ("."), cannot have additional periods, and cannot contain these characters: <, >, :, ", /, \, |, ?, or *.

</FileType>

Attributes and Elements

Attributes

None.

Child Elements

None.

Parent Elements

Parent Element Description
SupportedFileTypes (type: CT_CharmsSupportedFileTypes)

Defines the file types that the app can share.

 

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

Examples

<ShareTarget>
  <SupportedFileTypes>
    <FileType>.txt</FileType>
    <FileType>.html</FileType>
  </SupportedFileTypes>
  <DataFormat>Text</DataFormat>
  <DataFormat>Uri</DataFormat>
</ShareTarget>

Requirements

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