次の方法で共有


FileType (Windows 8 のパッケージスキーマ、ShareTarget の子孫)

ファイルの種類の拡張子として指定されたファイルの種類。 パッケージ内のアプリケーションごとに一意であり、大文字と小文字が区別されます。

要素の階層

<Package>
<アプリケーション>
<適用>
<拡張機能>
<拡張子>
<ShareTarget>
<SupportedFileTypes>
<FileType>
<FileOpenPicker>
<SupportedFileTypes>
<FileType>
<FileSavePicker>
<SupportedFileTypes>
<FileType>

構文

<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>

属性および要素

属性

なし。

子要素

なし。

親要素

Parent 要素 説明
SupportedFileTypes (型: CT_CharmsSupportedFileTypes)

アプリが共有できるファイルの種類を定義します。

 

次の要素の名前はこれと同じですが、コンテンツまたは属性が異なります:

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

要件

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