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.
The data format supported by an application.
Element hierarchy
<Package>
└─ <Extensions>
└─ <com:Extension>
└─ <com:ComServer>
└─ <com:ExeServer>
└─ <com:Class>
└─ <com:DataFormats>
└─ <com:DataFormat>
└─ <com:SurrogateServer>
└─ <com:Class>
└─ <com:DataFormats>
└─ <com:DataFormat>
└─ <Applications>
└─ <Application>
└─ <Extensions>
└─ <com:Extension>
└─ <com:ComServer>
└─ <com:ExeServer>
└─ <com:Class>
└─ <com:DataFormats>
└─ <com:DataFormat>
└─ <com:SurrogateServer>
└─ <com:Class>
└─ <com:DataFormats>
└─ <com:DataFormat>
Syntax
<com:DataFormat
FormatName = 'An optional string between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.'
StandardFormat = 'An optional string in hexadecimal format containing numbers or the letters a, b, c, d, e, f (capital or lower case).'
AspectFlag = 'A required integer between -1 and 15.'
MediumFlag = 'A required integer between 0 and 127.'
Direction = 'A required string that can have one of the following values: "Get", "Set", or "GetAndSet".' />
Attributes
| Attribute | Description | Data type | Required | Default value |
|---|---|---|---|---|
| FormatName | The name of the data format. | An optional string between 1 and 32767 characters in length with a non-whitespace character at its beginning and end. | No | |
| StandardFormat | The integer value of the data format. | An optional string in hexadecimal format containing numbers or the letters a, b, c, d, e, f (capital or lower case). | No | |
| AspectFlag | Represents a DVASPECT enumeration value for the desired data or view aspect. | A integer between -1 and 15. | Yes | |
| MediumFlag | The type of storage medium used for data transfer. This corresponds to the TYMED enumeration. | A integer between 0 and 127. | Yes | |
| Direction | This represents the DATADIR enumeration which corresponds to the direction of the data flow. | A string that can have one of the following values: Get, Set, GetAndSet. | Yes |
Child elements
None.
Parent elements
| Parent element | Description |
|---|---|
| com:DataFormats | Specifies the default and main data formats supported by an application. |
Requirements
| Item | Value |
|---|---|
| Namespace | http://schemas.microsoft.com/appx/manifest/com/windows10 |
| Minimum OS Version | Windows 10 version 1703 (Build 15063) |
Remarks
Note that FormatName and StandardFormat are mutually exclusive attributes and are Standard Clipboard Formats.