com:DataFormat (ExeServer/Class 内)

アプリケーションでサポートされるデータ形式。

要素階層

<Package>
   └─ <Applications>
      └─ <Application>
         └─ <Extensions>
            └─ <com:Extension>
               └─ <com:ComServer>
                  └─ <com:ExeServer>
                     └─ <com:Class>
                        └─ <com:DataFormats>
                           └─ <DataFormat>

構文

<com:DataFormat
  AspectFlag = 'A string that has one of the following enumeration values: "Content", "Thumbnail", "Icon", or "DocPrint".'
  MediumFlag = 'An integer with a value between 0 and 127.'
  Direction = 'A string that has one of the following enumeration values: "Get", "Set", or "GetAndSet".'
  FormatName = 'An optional string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.'
  StandardFormat = 'A string in hexadecimal format containing numbers or the letters a, b, c, d, e, f (capital or lower case).' >
</com:DataFormat>

属性と要素

属性

特性 説明 データの種類 必須 既定値
AspectFlag 目的のデータまたはビューの側面の DVASPECT 列挙値を表します。 ContentThumbnailIconDocPrint のいずれかの列挙値を持つ文字列。 はい
MediumFlag データ転送に使用されるストレージ メディアの種類。 これは、TYMED 列挙型に対応します。 0 ~ 127 の値を持つ整数。 はい
方向 これは、データ フローの方向に対応する DATADIR 列挙体を表します。 GetSet、または GetAndSet のいずれかの列挙値を持つ文字列。 はい
FormatName データ形式の名前。 1 ~ 32767 文字の長さの値を持つ省略可能な文字列で、先頭と末尾に空白文字以外の文字が含まれます。 いいえ
StandardFormat データ形式の整数値。 数字または文字 abcde、または f (大文字または小文字) を含む 16 進形式の文字列。 いいえ

子要素

なし。

親要素

親要素 説明
com:DataFormats アプリケーションでサポートされる既定のデータ形式とメイン データ形式を指定します。

注釈

FormatNameStandardFormat は相互に排他的な属性であり、標準クリップボード形式であることに注意してください。

必要条件

品目 価値
名前空間 http://schemas.microsoft.com/appx/manifest/com/windows10
最小 OS バージョン Windows 10 バージョン 1703 (ビルド 15063)