com:DataFormats (in SurrogateServer/Class)

Description

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 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, f (capital or lower case). >

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

Key

{} specific range of occurrences

Attributes

Attribute Description Data type Required
DefaultFormatName The string value of the format name. A string 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, f (capital or lower case). Yes

Child Elements

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

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

Requirements

Namespace

http://schemas.microsoft.com/appx/manifest/com/windows10