uap:FileType (in uap:ShareTarget/uap:SupportedFileTypes)

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

Element hierarchy

<Package>

     <Applications>

         <Application>

              <Extensions>

                   <uap:Extension>

                        <uap:ShareTarget>

                             <uap:FileOpenPicker>

                                  <uap:FileType>

                             <uap:FileSavePicker>

                                  <uap:FileType>

                             <uap:SupportedFileTypes>

                                  <uap:FileType>

Syntax

<uap: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 *. -->
</uap:FileType>

Attributes and elements

Attributes

None.

Child elements

None.

Parent elements

Parent element Description
uap: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

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

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10
Minimum OS Version Windows 10 version 1511 (Build 10586)