com4:DataFormats

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

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <com4:Class>

                        <com4:DataFormats>

    <Extensions>

         <com4:Class>

              <com4:DataFormats>

Syntax

<com4: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
</com4:DataFormats>

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

Parent element Description
com4:Class Specifies properties of a CLSID registered by the package that can be shared by one or more concrete registrations of the CLSID for different class contexts.

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/4
Minimum OS Version Windows 10 (Build 20348)