アプリの機能拡張ポイントを宣言します。
要素階層
<パッケージの>
<アプリケーションの>
<アプリケーション>
<拡張機能の>
<\uap10:Extension>
構文
<uap10:Extension
Category = 'A string that can have one of the following values: "windows.protocol"'
Executable = 'A string with an optional value between 1 and 256 characters in length, that must end with ".exe", and cannot contain the following characters: <, >, :, ", |, ?, or *. Specifies the default executable for the extension. If not specified, the executable defined for the app is used. If specified, the EntryPoint property is also used. If the EntryPoint property is not specified, the EntryPoint defined for the app is used.'
EntryPoint = 'A string with an optional value between 1 and 256 characters in length. Represents the task handling the extension (normally the fully namespace-qualified name of a Windows Runtime type). If EntryPoint is not specified, the EntryPoint defined for the app is used instead.'
RuntimeType = 'A string with an optional value between 1 and 255 characters in length that cannot start or end with a period or contain these characters: <, >, :, ", /, \, |, ?, or *.'
StartPage = 'A string with an optional value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.'
ResourceGroup = 'An alphanumeric string with an optional value between 1 and 255 characters in length. Must begin with a letter.'
uap10:TrustLevel = 'An optional string value. If specified, it must be either "appContainer" or "mediumIL".'
uap10:RuntimeBehavior = 'An optional string value. If specified, it must be one of the following values: "windowsApp", "packagedClassicApp", or "win32App".'
uap10:HostId = 'An alphanumeric string with an optional value between 1 and 255 characters in length. Must begin with an letter.'
uap10:Parameters = 'A string with an optional value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.' >
<!-- Child elements -->
uap10:protocol?
</uap10:Extension>
鍵
?
省略可能 (ゼロまたは 1)
属性と要素
属性
特性 |
説明 |
データの種類 |
必須 |
既定値 |
カテゴリ |
パッケージ拡張ポイントの種類。 |
windows.protocol のいずれかの値を持つ文字列。 |
イエス |
|
EntryPoint |
アクティブ化可能なクラス ID。 |
長さが 1 ~ 256 文字の文字列。 拡張機能を処理するタスク (通常は、Windows ランタイム型の完全な名前空間修飾名) を表します。 EntryPoint が指定されていない場合は、アプリに対して定義されている EntryPoint が代わりに使用されます。 |
いいえ |
|
実行可能 |
既定の起動実行可能ファイル。 |
長さが 1 ~ 256 文字の文字列。.exe で終わる必要があり、< 、> 、: 、" 、| 、? 、または * の文字を含めることはできません。 拡張機能の既定の実行可能ファイルを指定します。 指定しない場合は、アプリに定義されている実行可能ファイルが使用されます。 指定した場合は、EntryPoint プロパティも使用されます。 その EntryPoint プロパティが指定されていない場合は、アプリに対して定義されている EntryPoint が使用されます。 |
いいえ |
|
RuntimeType |
ランタイム プロバイダー。 通常、アプリにフレームワークが混在している場合に使用されます。 |
長さが 1 ~ 255 文字の文字列。. で開始または終了できないか、< 、> 、: 、" 、| 、? 、または * の文字が含まれています。 |
いいえ |
|
StartPage の |
機能拡張ポイントを処理する Web ページ。 |
< 、> 、: 、" 、| 、? 、または * の文字を含むことができない長さが 1 ~ 256 文字の文字列。 |
いいえ |
|
ResourceGroup |
リソース管理の目的で拡張機能のアクティブ化をグループ化するために使用される省略可能なタグ (CPU やメモリなど)。
Application@ResourceGroupの「解説」セクションを参照してください。 |
長さが 1 ~ 255 文字の英数字文字列。 文字で始まる必要があります。 |
いいえ |
|
uap10:TrustLevel |
拡張機能の信頼レベルを指定します。 |
省略可能な文字列値。 指定する場合は、appContainer または mediumIL のいずれかの値を指定できます。 |
いいえ |
|
uap10:RuntimeBehavior を する |
拡張機能のランタイム動作を指定します。 |
省略可能な文字列値。 指定した場合は、windowsApp 、packagedClassicApp、または win32App のいずれかの値を指定できます。 |
いいえ |
|
uap10:HostId の |
拡張機能のホスト ランタイムの ID を指定します。 |
1 ~ 255 文字の長さの省略可能な値を持つ英数字文字列。 文字で始まる必要があります。 |
いいえ |
|
uap10:Parameters |
拡張機能に渡すコマンド ライン パラメーターが含まれています。 デスクトップ アプリでのみサポートされます。 |
長さが 1 ~ 32767 文字の文字列で、先頭と末尾に空白文字以外の文字が含まれます。 |
いいえ |
|
子要素
親要素
親要素 |
説明 |
拡張機能 |
パッケージの 1 つ以上の拡張ポイントを定義します。 |
要求事項
アイテム |
価値 |
名前空間 |
http://schemas.microsoft.com/appx/manifest/uap/windows10/10 |
最小 OS バージョン |
Windows 10 バージョン 2004 (ビルド 19041) |