uap:DataFormat (Windows 10)
Specifies a data package format such as text or HTML format that the app can share. It is unique per application in the package and is case sensitive.
Element hierarchy
<uap:DataFormat>
Syntax
<uap:DataFormat>
A string with a value between 1 and 255 characters in length. DataFormat values specified by the user must be unique within the app.
</uap:DataFormat>
Attributes and elements
Attributes
None.
Child elements
None.
Parent elements
Parent element | Description |
---|---|
uap:ShareTarget | Declares an app extension point of type windows.shareTarget. The app can share the specified types of files. |
Examples
<uap:ShareTarget>
<uap:SupportedFileTypes>
<uap:FileType>.txt</uap:FileType>
<uap:FileType>.docx</uap:FileType>
</uap:SupportedFileTypes>
<uap:DataFormat>Text</uap:DataFormat>
<uap:DataFormat>Uri</uap:DataFormat>
<uap:DataFormat>Bitmap</uap:DataFormat>
<uap:DataFormat>Html</uap:DataFormat>
<uap:DataFormat>http://schema.org/Book</uap:DataFormat>
</uap:ShareTarget>
Requirements
Item | Value |
---|---|
Namespace | http://schemas.microsoft.com/appx/manifest/uap/windows10 |
Minimum OS Version | Windows 10 version 1511 (Build 10586) |