uap:SupportedFileTypes (in uap:ShareTarget) (Windows 10)

Defines the file types that the app can share.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <uap:Extension>

                        <uap:ShareTarget>

                             <uap:SupportedFileTypes>

                        <uap:FileOpenPicker>

                             <uap:SupportedFileTypes>

                        <uap:FileSavePicker>

                             <uap:SupportedFileTypes>

Syntax

<uap:SupportedFileTypes>

  <!-- Child elements -->
  uap:FileType{1,10000}
  uap:SupportsAnyFileType

</uap:SupportedFileTypes>

Key

{}   specific range of occurrences

Attributes and elements

Attributes

None.

Child elements

Child element Description
uap:FileType (type: ST_FileType) A file type specified as a file type extension. It's case sensitive and unique per application in the package.
uap:SupportsAnyFileType Indicates whether or not all file types are supported for sharing.

Parent elements

Parent element Description
uap:ShareTarget Declares an app extension point of type windows.shareTarget. The app can share the specified types of files.
uap:FileOpenPicker Declares an app extensibility point of type windows.fileOpenPicker. The app lets the user choose and open the specified types of files.
uap:FileSavePicker Declares an app extensibility point of type windows.fileSavePicker. The app lets the user choose the file name, extension, and storage location for the specified types of files.

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

Examples

<uap:SupportedFileTypes>
  <uap:FileType>.txt</uap:FileType>
  <uap:FileType>.docx</uap:FileType>
</uap:SupportedFileTypes>

Requirements

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