次の方法で共有


com4:Class (com4:ExeServer 内)

ExeServer クラスの登録を定義します。

要素の階層

<パッケージ>

    <アプリケーション>

         <Application>

              <拡張機能>

                   com4:ExeServer

                        <com4:Class>

構文

<com4:Class
  EnableOleDefaultHandler = 'A boolean value.'
  ProgId = '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).'
  VersionIndependentProgId = '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).'
  AutoConvertTo = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
  InsertableObject = 'A boolean value.'
  ShortDisplayName = 'A string with a value between 1 and 40 characters in length.'
  Id = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
  DisplayName = 'A string with a value between 1 and 256 characters in length. This string is localizable.' >

<!-- Child elements -->
  ImplementedCategories
  Conversion
  DataFormats
  MiscStatus
  Verbs
  DefaultIcon
  ToolboxBitmap32
  TypeLib

</com4:Class>

属性

属性と要素

属性 説明 データ型 必須 既定値
EnableOleDefaultHandler InprocHandler32 キーOle32.dllの既定値が の場合、これは true に設定する必要があります。 それ以外の場合は省略する必要があります。 既定値は false です。 ブール値。 Yes
ProgId プログラム識別子 (ProgID) を CLSID に関連付けます。 長さが 1 ~ 255 文字 (たとえば、Foo.Bar や Foo.Bar.1) の値を含む、ピリオドで区切られた英数字文字列。 いいえ
VersionIndependentProgId ProgID を CLSID に関連付けます。 この値は、オブジェクト アプリケーションの最新バージョンを決定するために使用されます。 長さが 1 ~ 255 文字 (たとえば、Foo.Bar や Foo.Bar.1) の値を含む、ピリオドで区切られた英数字文字列。 いいえ
AutoConvertTo オブジェクトの特定のクラスから新しいクラスのオブジェクトへの自動変換を指定します。 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx という形式の GUID。 いいえ
InsertableObject このクラスが挿入可能であることを示します。 ブール値。 いいえ
ShortDisplayName クラス表示名の短いバージョン。 長さが 1 ~ 40 文字の文字列。 いいえ
Id Id 属性は CLSID (HKCR\CLSID{MyGuid}) に対応します。 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx という形式の GUID。 Yes
DisplayName CLSID のキーの既定値に対応するローカライズ可能な文字列。 長さが 1 ~ 256 文字の値を持つ文字列。 いいえ

子要素

子要素 説明
ImplementedCategories クラスによって実装されるカテゴリを指定します。
変換 アプリケーションが読み取りおよび書き込みできる形式を指定します。
DataFormats アプリケーションでサポートされる既定のデータ形式とメインデータ形式を指定します。
MiscStatus オブジェクトを作成して表示する方法を指定します。
動詞 アプリケーションに登録する動詞を指定します。
DefaultIcon オブジェクトの象徴的なプレゼンテーションの既定のアイコン情報を提供します。
ToolboxBitmap32 ツール バーまたはツールボックス ボタンの顔に使用する 16 x 16 ビットマップのモジュール名とリソース ID を識別します。
TypeLib クラスまたはインターフェイスのタイプ ライブラリ。

親要素

親要素 説明
com4:ExeServer 1 つまたは複数のクラス登録で ExeServer を登録します。

要件

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