uap:DataFormat (Windows 10)

Gibt ein Datenpaketformat an, z. B. Text oder HTML-Format, das die App freigeben kann. Es ist pro Anwendung im Paket eindeutig, und die Groß-/Kleinschreibung wird beachtet.

Elementhierarchie

<Paket>

    <Anwendungen>

         <Anwendung>

              <Erweiterungen>

                   <uap:Extension>

                        <uap:ShareTarget>

                             <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>

Attribute und Elemente

Attribute

Keine

Untergeordnete Elemente

Keine

Übergeordnete Elemente

Übergeordnetes Element BESCHREIBUNG
uap:ShareTarget Deklariert einen App-Erweiterungspunkt vom Typ windows.shareTarget. Die App kann die angegebenen Dateitypen gemeinsam nutzen.

Beispiele

<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>

Anforderungen

Element Wert
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10
Minimum OS Version Windows 10 Version 1511 (Build 10586)