Share via


com:Format (in ExeServer/Class)

指定應用程式可以讀取和寫入 (啟用為) 的檔案格式。

元素階層

<套件>

    <應用程式>

         <應用程式>

              <擴充功能>

                   <com:Extension>

                        <com:ComServer>

                             <com:ComServer>

                                  <com:Class>

                                       <com:Conversion>

                                            <com:Readwritable>

                                                 <com:Format>

Syntax

<com:Format
    FormatName = 'An optional string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.'
    StandardFormat = 'An optional string in hexadecimal format containing numbers or the letters a, b, c, d, e, or f (capital or lower case).' >
</com:Format>

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
FormatName 字串檔案格式名稱。 長度介於 1 到 32767 個字元的選擇性字串,其開頭和結尾為非空白字元。 No
StandardFormat 十六進位檔案格式名稱。 十六進位格式的選擇性字串,包含數位或字母 ab 、、 dc 、、 e 、或 f (大寫或小寫) 。 No

子元素

無。

父元素

父元素 描述
com:Readwritable 指定應用程式可以讀取和寫入檔案。

備註

注意

FormatNameStandardFormat 互斥。

規格需求

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