声明 windows.protocol 类型的应用扩展点。 URI 关联指示已注册应用以使用指定方案处理 URI。
元素层次结构
<包>
<应用程序>
<应用程序>
<uap10:Extension>
<\uap10:Protocol>
语法
<uap10:Protocol
name = 'A string with a value between 2 and 2048 characters in length.'
desiredView = 'A string that can have one of the following values: "default", "useLess", "useHalf", "useMore", or "useMinimum".'
returnResults = 'An optional string that can have one of the following values: "none", "always", or "optional".'
parameters = 'An optional string value (or set of string values between "%" characters).' >
<!-- Child elements -->
uap10:Logo
uap10:DisplayName
rescap3:MigrationProgIds
previewappcompat:ProgId
</uap10:Protocol>
密钥
? 可选 (零个或一个)
特性和元素
属性
| 属性 |
说明 |
数据类型 |
必须 |
默认值 |
| 名称 |
媒体内容的用户友好显示名称。 |
值长度介于 2 到 2048 个字符之间的字符串。 |
是 |
|
| DesiredView |
媒体内容的用户友好说明。 |
可以具有以下值之一的字符串: default、 useLess、 useHalf、 useMore 或 useMinimum。 |
否 |
|
| ReturnResults |
定义用于加密和解密媒体内容的关键系统。 |
可具有以下值之一的可选字符串: none、 always 或 optional。 |
否 |
|
| 参数 |
与此媒体内容关联的类 ID。 |
一个可选的字符串值 (或字符) 之间的 % 字符串值集。 |
否 |
|
子元素
父元素
要求
| 项 |
值 |
| uap10 |
http://schemas.microsoft.com/appx/manifest/uap/windows10/10 |
| rescap3 |
http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities/3 |
| previewappcompat |
http://schemas.microsoft.com/appx/manifest/preview/windows10/msixappcompatsupport/3 |
| Minimum OS Version |
Windows 10版本 2004 (内部版本 19041) |