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

<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 its file type extension. It is unique per application in the package and is case sensitive.

uap:SupportsAnyFileType

Indicates whether all file types are supported for sharing.

 

Parent Elements

Parent Element Description
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.

uap:ShareTarget

Declares an app extension point of type windows.shareTarget. The app can share 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