desktop7:Shortcut
建立檔案的快捷方式。
元素階層
<desktop7:Shortcut>
Syntax
<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>
答案
?
選擇性 (零或一個)
屬性和元素
屬性
屬性 | 描述 | 資料類型 | 必要 | 預設值 |
---|---|---|---|---|
檔案 | 快捷方式目標檔案的路徑。 | 長度介於 1 到 256 個字元之間的字串,不能包含下列字元: < 、、、 : > 、 " 、 | 、 ? 或 * 。 |
是 | |
圖示 | 快捷方式圖示之檔案的路徑。 | 長度介於 1 到 256 個字元之間的字串,不能包含下列字元: < 、、、 : > 、 " 、 | 、 ? 或 * 。 |
Yes | |
引數 | 快捷方式的引數。 | 長度介於 1 到 256 個字元之間的選擇性字串。 | No | |
PinToStartMenu | 布林值,指定快捷方式是否釘選到 [開始] 功能表。 | 布林值。 | No | |
ExcludeFromShowInNewInstall | 布林值,指定是否應該從套用至新安裝應用程式的反白顯示中排除快捷方式。 | 布林值。 | No | |
描述 | 快捷方式的描述。 | 長度介於 1 到 2048 個字元之間的字串。 | No | |
desktop10:DisplayName | 捷徑的顯示名稱。 | 長度介於 1 到 256 個字元之間的選擇性字串。 這個字串可當地語系化。 | No | |
desktop10:Description | 快捷方式的可當地語系化描述。 | 長度介於 1 到 2048 個字元之間的選擇性字串。 這個字串可當地語系化。 | No |
子元素
子項目 | 描述 |
---|---|
desktop7:AppMigrations | 為最近卸載的應用程式指定停用快捷方式的一組應用程式移轉專案。 |
父元素
父元素 | 描述 |
---|---|
副檔名 | 定義應用程式的擴充點。 |
規格需求
Item | 值 |
---|---|
命名空間 | http://schemas.microsoft.com/appx/manifest/desktop/windows10/7 |
desktop10 | http://schemas.microsoft.com/appx/manifest/desktop/windows10/10 |
OS 最低版本 | Windows 10 (組建 19645) |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應