com5:Format

描述

指定应用程序可从中读取或写入到的文件格式。

元素层次结构

<包>

     <应用程序>

          <应用程序>

               <扩展>

                    <com4:Extension>

                         <com4:ComServer>

                              <com5:InProcessServer>

                                   <com5:Class> (inProcessServer)

                                        <com5:转换>

                                             <com5:可读>

                                                  <com5:格式>

                                             <com5:ReadWritable>

                                                  <com5:格式>

                              <com5:InProcessHandler>

                                   <com5:Class> (inProcessHandler)

                                        <com5:转换>

                                             <com5:可读>

                                                  <com5:格式>

                                             <com5:ReadWritable>

                                                  <com5:格式>

     <扩展>

          <com4:Extension>

               <com4:ComServer>

                    <com5:InProcessServer>

                         <com5:Class> (inProcessServer)

                              <com5:转换>

                                   <com5:可读>

                                        <com5:格式>

                                   <com5:ReadWritable>

                                        <com5:格式>

                    <com5:InProcessHandler>

                         <com5:Class> (inProcessHandler)

                              <com5:转换>

                                   <com5:可读>

                                        <com5:格式>

                                   <com5:ReadWritable>

                                        <com5:格式>

语法

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

属性

属性 描述 数据类型 必填
FormatName 格式名称的字符串值。 长度为 1 到 32767 个字符的字符串,其开头和结尾为非空格字符。 是的
StandardFormat 格式名称的十六进制值。 采用十六进制格式的字符串,其中包含数字或字母 a、b、c、d、e、f(大写或小写)。 是的

父元素

Parent 元素 描述
com5:可读 指定应用程序只能读取文件。
com5:可读 指定应用程序可以读取和写入文件。

要求

项目 价值
com5 http://schemas.microsoft.com/appx/manifest/com/windows10/5
最低 OS 版本 Windows 11 版本 21H2 (内部版本 22000)