com4:Class (InProcessHandler 内)
インプロセス ハンドラー クラスの登録を定義します。
要素の階層
<com4:Class>
構文
<com4:Class
Virtualization = 'A string that can have one of the following values: "enabled" or "disabled".'
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>
属性と要素
属性
属性 | 説明 | データ型 | 必須 | 既定値 |
---|---|---|---|---|
仮想化 | クラスを読み込むときに仮想化を使用するかどうかを指定します。 | 有効または無効のいずれかの値を持つ文字列。 | 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 | クラスの表示名。 | 長さが 1 ~ 256 文字の値を持つ文字列。 この文字列はローカライズ可能です。 | いいえ |
子要素
子要素 | 説明 |
---|---|
ImplementedCategories | クラスによって実装されるカテゴリを指定します。 |
変換 | アプリケーションが読み取りおよび書き込みできる形式を指定します。 |
DataFormats | アプリケーションでサポートされる既定のデータ形式とメインデータ形式を指定します。 |
MiscStatus | オブジェクトを作成して表示する方法を指定します。 |
動詞 | アプリケーションに登録する動詞を指定します。 |
DefaultIcon | オブジェクトの象徴的なプレゼンテーションの既定のアイコン情報を提供します。 |
ToolboxBitmap32 | ツール バーまたはツールボックス ボタンの顔に使用する 16 x 16 ビットマップのモジュール名とリソース ID を識別します。 |
TypeLib | クラスまたはインターフェイスのタイプ ライブラリ。 |
親要素
親要素 | 説明 |
---|---|
com4:InProcessHandler | インプロセス ハンドラーを 1 つまたは複数のクラス登録に登録します。 |
要件
Item | 値 |
---|---|
Namespace | http://schemas.microsoft.com/appx/manifest/com/windows10/4 |
Minimum OS Version | Windows 10 (ビルド 20348) |
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示