Edit

com:DataFormats

Specifies the default and main data formats supported by an application.

Element hierarchy

<Package>
   └─ <Extensions>
      └─ <com:Extension>
         └─ <com:ComServer>
            └─ <com:ExeServer>
               └─ <com:Class>
                  └─ <com:DataFormats>
            └─ <com:SurrogateServer>
               └─ <com:Class>
                  └─ <com:DataFormats>
   └─ <Applications>
      └─ <Application>
         └─ <Extensions>
            └─ <com:Extension>
               └─ <com:ComServer>
                  └─ <com:ExeServer>
                     └─ <com:Class>
                        └─ <com:DataFormats>
                  └─ <com:SurrogateServer>
                     └─ <com:Class>
                        └─ <com:DataFormats>

Syntax

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

  <!-- Child elements -->
  com:DataFormat{0,1000}

</com:DataFormats>

Key

{} specific range of occurrences

Attributes

Attribute Description Data type Required Default value
DefaultFormatName The string value of the format name. An optional string between 1 and 32767 characters in length with a non-whitespace character at its beginning and end. No
DefaultStandardFormat The hexadecimal value of the format name. An optional string in hexadecimal format containing numbers or the letters a, b, c, d, e, f (capital or lower case). No

Child elements

Child element Description
com:DataFormat The data format supported by an application.

Parent elements

Parent element Description
com:Class Defines an ExeServer class registration.
com:Class Defines a SurrogateServer class registration.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/com/windows10
Minimum OS Version Windows 10 version 1703 (Build 15063)

Remarks

DefaultFormatName is the string value, and DefaultStandardFormat is the integer value of the supported data formats. These values are mutually exclusive.

This element corresponds to the DataFormats subkey.

Examples