Share via


desktop10:Folder

定義資料夾來保存快捷方式,其中包含可當地語系化的詳細資料。

元素階層

<套件>

    <擴充功能>

         <desktop10:Extension>

              <desktop10:Folder>

Syntax

<desktop10:Folder
  KnownFolder = 'A string that can be one of the following values: "Common Programs", "Programs", or "Desktop".'
  RelativePath = 'An optional string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.'
  Name = 'An optional string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.'
  DisplayName = 'An optional alphanumeric string with a value between 1 and 256 characters in length. This string is localizable.'
  Icon = 'An optional string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.'
  IconIndex = 'An optional numerical value between 0 and 255.'
  Description = 'An optional string with a value between 1 and 2048 characters. This string is localizable.' />

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
KnownFolder RelativePath值相對於的已知資料夾。 可以是下列其中一個值的字串: 一般程式程式桌面 Yes
RelativePath 資料夾的路徑,相對於KnownFolder中指定的資料夾 長度介於 1 到 256 個字元之間的選擇性字串,不能包含下列字元: < 、、 >:" 、、 |?* No
名稱 資料夾的磁片上名稱。 長度介於 1 到 256 個字元之間的選擇性字串,不能包含下列字元: < 、、 >:" 、、 |?* No
DisplayName 資料夾的顯示名稱。 長度介於 1 到 256 個字元之間的選擇性英數位元字串。 這個字串可當地語系化。 No
圖示 要針對 lnk 檔案顯示的圖示影像,格式為 多語系使用者介面 字串格式。 長度介於 1 到 256 個字元之間的選擇性字串,不能包含下列字元: < 、、 >:" 、、 |?* No
IconIndex 目前圖示檔案內的圖示索引。 介於 0 到 255 之間的數值。 No
描述 資料夾的描述。 選擇性字串,其值為 1 到 2048 個字元。 這個字串可當地語系化。 No

子元素

無。

父元素

父元素 描述
desktop10:Extension 宣告應用程式的擴充點。

規格需求

Item
desktop10 http://schemas.microsoft.com/appx/manifest/desktop/windows10/10
OS 最低版本 Windows 11版本 22H2 (組建 22621)