次の方法で共有


com4:DataFormat

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

要素の階層

<パッケージ>

    <アプリケーション>

         <Application>

              <拡張機能>

                   <com4:Class>

                        <com4:DataFormats>

                             <com4:DataFormat>

構文

<com4:DataFormat
    FormatName = 'A 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, or f (capital or lower case).'
    AspectFlag = 'An integer with a value between -1 and 15.'
    MediumFlag = 'An integer between 0 and 127.'
    Direction = 'A string with one of the following values: "Get", "Set", or "GetAndSet".' />

属性と要素

属性

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

子要素

なし。

親要素

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

注釈

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

必要条件

Item
Namespace http://schemas.microsoft.com/appx/manifest/com/windows10/4
Minimum OS Version Windows 10 (ビルド 20348)