Share via


uap:FileType (uap:FileSavePicker/uap:SupportedFileTypes)

指定為副檔名的檔案類型。 它對於套件中的每個應用程式都是唯一的,而且區分大小寫。

元素階層

<套件>

    <應用程式>

         <應用程式>

              <擴充功能>

                   <uap:Extension>

                        <uap:ShareTarget>

                             <uap:SupportedFileTypes>

                                  <uap:FileType>

                        <uap:FileOpenPicker>

                             <uap:SupportedFileTypes>

                                  <uap:FileType>

                        <uap:FileSavePicker>

                             <uap:SupportedFileTypes>

                                  <uap:FileType>

Syntax

<uap: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 *. -->
</uap:FileType>

屬性和元素

屬性

無。

子元素

無。

父元素

父元素 描述
uap:SupportedFileTypes (類型:CT_CharmsSupportedFileTypes) 定義應用程式可以共用的檔案類型。

下列元素的名稱與這個元素相同,但內容或屬性不同:

規格需求

Item
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10
OS 最低版本 Windows 10版本 1511 (組建 10586)