com4:TreatAsClass

TreatAs サブキー (com4:TreatAsClass) を使用した CLSID 登録に対応する登録。

要素の階層

<パッケージ>

    <アプリケーション>

         <Application>

              <拡張機能>

                   <com4:TreatAsClass>

構文

<com4:TreatAsClass
    TreatAs = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
    AutoConvertTo = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
    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.'
>

属性と要素

属性

属性 説明 データ型 必須 既定値
TreatAs 現在のクラスをエミュレートできるクラスの CLSID を指定します。 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx という形式の GUID。 Yes
AutoConvertTo オブジェクトの特定のクラスから新しいクラスのオブジェクトへの自動変換を指定します。 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx という形式の GUID。 Yes
Id COM クラス オブジェクトの CLSID に対応します。 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx という形式の GUID。 Yes
DisplayName CLSID キーの既定値を表す省略可能な文字列。 長さが 1 ~ 256 文字の文字列。 この文字列はローカライズ可能です。 Yes

子要素

なし。

親要素

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

必要条件

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