Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the default and main data formats supported by an application.
Element hierarchy
<Package>
└─ <Applications>
└─ <Application>
└─ <Extensions>
└─ <com4:Extension>
└─ <com4:ComServer>
└─ <com5:InProcessServer>
└─ <com5:Class>
└─ <com5:DataFormats>
└─ <com5:InProcessHandler>
└─ <com5:Class>
└─ <com5:DataFormats>
└─ <Extensions>
└─ <com4:Extension>
└─ <com4:ComServer>
└─ <com5:InProcessServer>
└─ <com5:Class>
└─ <com5:DataFormats>
└─ <com5:InProcessHandler>
└─ <com5:Class>
└─ <com5:DataFormats>
Syntax
<com5: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
</com5:DataFormats>
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
| Element | Description |
|---|---|
| DataFormat | TBD |
Parent elements
| Parent element | Description |
|---|---|
| com5:Class (in InProcessServer) | 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. |
| com5:Class (in InProcessHandler) | 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.
Requirements
| Item | Value |
|---|---|
| com5 | http://schemas.microsoft.com/appx/manifest/com/windows10/5 |
| Minimum OS Version | Windows 11 version 21H2 (Build 22000) |