com:DataFormats (in SurrogateServer/Class)

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

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <com:Extension>

                        <com:ComServer>

                             <com:SurrogateServer>

                                  <com:Class>

                                       <com:DataFormats>

Syntax

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

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

Key

{}   specific range of occurrences

Attributes and elements

Attributes

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

Child elements

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

Parent elements

Child element Description
com:Class Defines a SurrogateServer class registration.

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.

Requirements

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