DataFormat
Collapse the table of content
Expand the table of content

DataFormat

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

<Package>
<Applications>
<Application>
<Extensions>
<Extension>
<ShareTarget>
<DataFormat>

Syntax

<DataFormat>

  A string between 1 and 255 characters in length. DataFormat values specified by the user must be unique within the app. 

</DataFormat>

Attributes and Elements

Attributes

None.

Child Elements

None.

Parent Elements

Parent ElementDescription
ShareTarget

Declares an app extension point of type windows.shareTarget. The app can share the specified types of files.

 

Examples


<ShareTarget>
  <SupportedFileTypes>
    <FileType>.txt</FileType>
    <FileType>.docx</FileType>
  </SupportedFileTypes>
  <DataFormat>Text</DataFormat>
  <DataFormat>Uri</DataFormat>
  <DataFormat>Bitmap</DataFormat>
  <DataFormat>Html</DataFormat>
  <DataFormat>http://schema.org/Book</DataFormat>
</ShareTarget>

Requirements

Namespace

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

 

 

Show:
© 2016 Microsoft