次の方法で共有


com4:ProgId

CLSID に関連付けることができるプログラム識別子 (ProgID)。 ProgID はクラスを識別しますが、CLSID よりも精度が低くなります。グローバルに一意であることが保証されていないためです。

要素の階層

<パッケージ>

    <アプリケーション>

         <Application>

              <拡張機能>

                   <com4:ProgId>

構文

<com4:ProgId
    Id = 'An alphanumeric string, separated by a period, with a value between 1 and 255 characters in length (for example, Foo.Bar or Foo.Bar.1).'
    Clsid = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
    CurrentVersion  = 'An alphanumeric string, separated by a period, with a value between 1 and 255 characters in length (for example, Foo.Bar or Foo.Bar.1).' />

属性と要素

属性

属性 説明 データ型 必須 既定値
Id ProgID の ID。 長さが 1 ~ 255 文字 (たとえば、Foo.Bar や Foo.Bar.1) の値を含む、ピリオドで区切られた英数字文字列。 Yes
Clsid ProgID を CLSID に関連付けます。 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx という形式の GUID。 Yes
CurrentVersion ProgID のバージョン。 長さが 1 ~ 255 文字 (たとえば、Foo.Bar や Foo.Bar.1) の値を含む、ピリオドで区切られた英数字文字列。 Yes

子要素

なし。

親要素

親要素 説明
拡張機能 アプリの 1 つ以上の拡張ポイントを定義します。

必要条件

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