desktop7:Shortcut
创建文件的快捷方式。
元素层次结构
<desktop7:Shortcut>
语法
<desktop7:Shortcut
File = 'A string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.'
Icon = 'A string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.'
Arguments = 'An optional string with a value between 1 and 256 characters in length.'
PinToStartMenu = 'A boolean value.'
ExcludeFromShowInNewInstall = 'A boolean value.'
Description = 'A string with a value between 1 and 2048 characters in length.'
desktop10:DisplayName = 'An optional string with a value between 1 and 256 characters in length. This string is localizable.'
desktop10:Description = 'An optional string with a value between 1 and 2048 characters in length. This string is localizable.' >
desktop7:AppMigrations?
</desktop7:Shortcut>
密钥
?
可选 (零个或一个)
特性和元素
属性
属性 | 说明 | 数据类型 | 必须 | 默认值 |
---|---|---|---|---|
File | 快捷方式的目标文件的路径。 | 值长度介于 1 到 256 个字符之间的字符串,不能包含以下字符:< 、> 、: 、" 、| ? 、 或 * 。 |
是 | |
图标 | 文件的路径,该文件是快捷方式的图标。 | 值长度介于 1 到 256 个字符之间的字符串,不能包含以下字符:< 、> 、: 、" 、| ? 、 或 * 。 |
是 | |
参数 | 快捷方式的参数。 | 值长度介于 1 到 256 个字符之间的可选字符串。 | 否 | |
PinToStartMenu | 一个布尔值,指定快捷方式是否固定到“开始”菜单。 | 布尔值。 | 否 | |
ExcludeFromShowInNewInstall | 一个布尔值,指定是否应从应用于新安装应用的突出显示中排除快捷方式。 | 布尔值。 | 否 | |
说明 | 快捷方式的说明。 | 值长度介于 1 到 2048 个字符之间的字符串。 | 否 | |
desktop10:DisplayName | 快捷方式的显示名称。 | 值长度介于 1 到 256 个字符之间的可选字符串。 此字符串可本地化。 | 否 | |
desktop10:Description | 快捷方式的可本地化说明。 | 值长度介于 1 到 2048 个字符之间的可选字符串。 此字符串可本地化。 | 否 |
子元素
子元素 | 描述 |
---|---|
desktop7:AppMigrations | 为最近卸载的应用的停用快捷方式指定一组应用迁移条目。 |
父元素
父元素 | 描述 |
---|---|
扩展名 | 定义应用程序的扩展点。 |
要求
项 | 值 |
---|---|
命名空间 | http://schemas.microsoft.com/appx/manifest/desktop/windows10/7 |
desktop10 | http://schemas.microsoft.com/appx/manifest/desktop/windows10/10 |
Minimum OS Version | Windows 10 (内部版本 19645) |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈