COM 登録をアプリ パッケージの外部のクライアントに公開する機能を提供します。
要素階層
<パッケージの>
<アプリケーションの>
<アプリケーション>
<拡張機能の>
<com:Extension>
<拡張機能の>
<com:Extension>
構文
<com:Extension
Category = 'A string that can be one of the following values: "windows.comServer" or "windows.comInterface".'
uap10:TrustLevel = 'An optional string value that can one of the following value: "appContainer" or "mediumIL".'
ap10:RuntimeBehavior = 'An optional string with a value that can be one of the following values: "windowsApp", "packagedClassicApp", or "win32App".'
uap10:HostId = 'An optional alphanumeric string with a value between 1 and 255 characters in length. Must begin with a letter.'
uap10:Parameters = 'An optional string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.'
uap11:Id = 'An optional string with a value between 1 and 255 characters in length with a non-whitespace character at its beginning and end.'
uap11:Subsystem = 'An optional string that can have one of the following values: "console" or "windows".'
uap11:SupportsMultipleInstances = 'An optional boolean value.'
uap11:ResourceGroup = 'An optional alphanumeric string with a value between 1 and 255 characters in length. Must begin with a letter.'
uap11:CurrentDirectoryPath = 'An optional string that cannot contain these characters: <, >, |, ?, or *. >'
uap11:Parameters = 'An optional string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.'
desktop7:CompatMode = 'An optional string the can have one of the following values: "classic" or "modern".'
desktop7:Scope = 'An optional string that can have one of the following values: "machine" or "user".'>
<!-- Child elements -->
com:ComServer
com:ComInterface
</com:Extension>
属性と要素
属性
属性 |
形容 |
データ型 |
必須 |
既定値 |
カテゴリの |
アプリ拡張ポイントの種類。 |
windows.comServer または windows.comInterface、次のいずれかの値を指定できる文字列。 |
はい |
|
uap10:TrustLevel |
拡張機能の信頼レベルを指定します。 |
appContainer または mediumILできる省略可能な文字列値。 |
いいえ |
|
uap10:RuntimeBehavior を する |
拡張機能の実行時の動作を指定します。 |
windowsApp、packagedClassicApp、または win32Appできる値を持つ省略可能な文字列。 |
いいえ |
|
uap10:HostId の |
拡張機能のホスト ランタイムの ID を指定します。 |
1 ~ 255 文字の長さの値を持つ省略可能な英数字文字列。 文字で始まる必要があります。 |
いいえ |
|
uap10:Parameters |
拡張機能に渡すコマンド ライン パラメーターが含まれています。 パッケージ ID を持つデスクトップ アプリでのみサポートされます。 |
1 ~ 32767 文字の長さの値を持つ省略可能な文字列で、先頭と末尾に空白文字以外の文字が含まれます。 |
いいえ |
|
uap11:Id |
拡張機能の識別子。 ID は、パッケージ内のすべての拡張機能に対して一意である必要があります。 |
1 ~ 255 文字の長さの値を持つ省略可能な文字列で、先頭と末尾に空白以外の文字が含まれます。 |
いいえ |
|
uap11:Subsystem |
拡張機能の対象となるサブシステム。 |
次のいずれかの値を持つ省略可能な文字列: コンソール または ウィンドウ。 |
いいえ |
|
uap11:SupportsMultipleInstances |
インスタンスを異なるプロセスで実行するかどうかを指定します。 既定値は false です。 |
省略可能なブール値。 |
いいえ |
|
uap11:ResourceGroup の |
リソース管理のために拡張機能のアクティブ化をグループ化するために使用できるタグ (CPU やメモリなど)。 ResourceGroup に設定できる値は自由形式で柔軟です。
Application@ResourceGroupを参照してください。 |
1 ~ 255 文字の長さの値を持つ省略可能な英数字文字列。 文字で始まる必要があります。 |
いいえ |
|
uap11:CurrentDirectoryPath |
アプリケーション プロセスの起動時の初期ディレクトリを指定します。 この属性はマクロをサポートします。 詳細については、パッケージ マニフェスト スキーマのマクロの を参照してください。 |
< 、> 、| 、? 、または * の文字を含めることができない省略可能な文字列。 > |
いいえ |
|
uap11:Parameters |
拡張機能の対象となるサブシステム。 この属性はマクロをサポートします。 詳細については、パッケージ マニフェスト スキーマのマクロの を参照してください。 |
1 ~ 32767 文字の長さの値を持つ省略可能な文字列で、先頭と末尾に空白文字以外の文字が含まれます。 |
いいえ |
|
desktop7:CompatMode |
この拡張機能の情報を従来の方法 (パッケージ化されていないアプリがレジストリを介して COM に型を登録するなど) で Windows に登録するか、新しいスコープの新しい方法で登録するかを指定します。 既定値は "modern" です。 CompatMode="classic" には、Microsoft.classicAppCompat_8wekyb3d8bbwe 機能が必要です。 |
省略可能な文字列には、クラシック またはモダンのいずれかの値を指定できます。 |
いいえ |
|
desktop7:Scope |
登録が、このパッケージが登録されているユーザー (ユーザー) として実行されている他のアプリケーションにのみ表示されるかどうか、またはマシン (マシン) 上のすべてのユーザーとサービスに表示されるかどうかを指定します。 既定値は "user" です。 Scope="machine" には、Microsoft.classicAppCompatElevated_8wekyb3d8bbwe 機能が必要です。 |
コンピューターの またはユーザー、次のいずれかの値を持つ省略可能な文字列。 |
いいえ |
|
子要素
親要素
必要条件
アイテム |
価値 |
Namespace |
http://schemas.microsoft.com/appx/manifest/foundation/windows10 |
uap10 を する |
http://schemas.microsoft.com/appx/manifest/uap/windows10/10 |
最小 OS バージョン |
Windows 10 バージョン 1703 (ビルド 15063) |