SupportedFileTypes (package schema for Windows 8, child of ShareTarget)

Defines the file types that the app can share.

Element hierarchy

<Package>
<Applications>
<Application>
<Extensions>
<Extension>
<ShareTarget>
<SupportedFileTypes>
<FileOpenPicker>
<SupportedFileTypes>
<FileSavePicker>
<SupportedFileTypes>

Syntax

<SupportedFileTypes>

  <!-- Child elements -->
  ( FileType{1,10000}
  | SupportsAnyFileType
  )

</SupportedFileTypes>

Key

{}   specific range of occurrences

Attributes and Elements

Attributes

None.

Child Elements

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

SupportsAnyFileType

Indicates whether all file types are supported for sharing.

 

Parent Elements

Parent Element Description
FileOpenPicker

Declares an app extensibility point of type windows.fileOpenPicker. The app lets the user choose and open the specified types of files.

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.

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

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

Requirements

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