EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

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.

Element hierarchy

<Package>
<Applications>
<Application>
<Extensions>
<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 ElementDescription
SupportedFileTypes (type: CT_CharmsSupportedFileTypes)

Defines the file types that the app can share.

 

Related elements

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

Namespace

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

 

 

Afficher:
© 2014 Microsoft