desktop7:ControlPanelItem
將延伸模組註冊為控制台專案。
元素階層
<desktop7:ControlPanelItem>
Syntax
<desktop7:ControlPanelItem
Name = 'A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.'
SystemApplicationName = 'A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.'
SystemControlPanelCategory = 'A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.'
SystemSoftwareTasksFileUrl = 'A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.'
Clsid = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.' >
desktop7:DefaultIcon
desktop7:LocalizedString
desktop7:InfoTip
</desktop7:ControlPanelItem>
屬性和元素
屬性
屬性 | 描述 | 資料類型 | 必要 | 預設值 |
---|---|---|---|---|
名稱 | Shell 擴充功能的描述性名稱。 系統實際上不會直接使用這個值,但可讓您更輕鬆地讀取登錄中的專案。 | 長度介於 1 到 32767 個字元之間的字串,其開頭和結尾為非空白字元。 | Yes | |
SystemApplicationName | 專案的正式名稱。 表單 control.exe /name [System.ApplicationName] 的命令會開啟專案。 |
長度介於 1 到 32767 個字元之間的字串,其開頭和結尾為非空白字元。 | Yes | |
SystemControlPanelCategory | 值,宣告顯示專案的控制台類別。 多個類別會以逗號分隔。 如需詳細資訊,請參閱指派主控台類別 | 長度介於 1 到 32767 個字元之間的字串,其開頭和結尾為非空白字元。 | Yes | |
SystemSoftwareTasksFileUrl | 定義工作連結的 XML 檔案路徑。 當主控台在 [類別] 模式中檢視時,這會提供此主控台專案底下的專案子清單。 | 長度介於 1 到 32767 個字元之間的字串,其開頭和結尾為非空白字元。 | Yes | |
Clsid | 實作殼層延伸模組之 COM 類別的 Clsid。 | 格式為 xxxxxxxx-xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxx 的 GUID。 | Yes |
子元素
子項目 | 描述 |
---|---|
desktop7:DefaultIcon | 指定要針對主控台中專案顯示的圖示。 |
desktop7:LocalizedString | 指定要針對主控台中專案顯示的當地語系化字串。 |
desktop7:InfoTip | 指定要在滑鼠停留在專案圖示上方時顯示的資訊提示字串。 |
父元素
父元素 | 描述 |
---|---|
副檔名 | 定義應用程式的擴充點。 |
規格需求
Item | 值 |
---|---|
命名空間 | http://schemas.microsoft.com/appx/manifest/desktop/windows10/7 |
OS 最低版本 | Windows 10 (組建 19645) |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應