JumpListCategory Object
type
string (optional) -One of the following:以下其中一项:tasks
-Items in this category will be placed into the standard此类别中的项目将被放置到标准Tasks
category.Tasks
类别中。There can be only one such category, and it will always be displayed at the bottom of the Jump List.只能有一个这样的类别,并且它将始终显示在跳转列表的底部。frequent
-Displays a list of files frequently opened by the app, the name of the category and its items are set by Windows.显示应用程序经常打开的文件列表,类别的名称及其项目由Windows设置。recent
-Displays a list of files recently opened by the app, the name of the category and its items are set by Windows.显示应用程序最近打开的文件列表,类别的名称及其项目由Windows设置。Items may be added to this category indirectly using可以使用app.addRecentDocument(path)
.app.addRecentDocument(path)
将项目间接添加到此类别中。custom
-Displays tasks or file links,显示任务或文件链接,name
must be set by the app.name
必须由应用程序设置。
name
string (optional) -Must be set if如果type
iscustom
, otherwise it should be omitted.type
是custom
的,则必须设置,否则应省略。items
JumpListItem[] (optional) -Array of JumpListItem objects ifJumpListItem对象的数组(如果type
istasks
orcustom
, otherwise it should be omitted.type
为tasks
或custom
),否则应省略它。
Note: If a 如果JumpListCategory
object has neither the type
nor the name
property set then its type
is assumed to be tasks
. JumpListCategory
对象既没有type
也没有name
属性集,则假定其type
为任务。If the 如果设置了name
property is set but the type
property is omitted then the type
is assumed to be custom
.name
属性,但省略了type
属性,则假定该type
是custom
。
Note: The maximum length of a Jump List item's 跳转列表项的description
property is 260 characters. description
属性的最大长度为260个字符。Beyond this limit, the item will not be added to the Jump List, nor will it be displayed.超过此限制,该项目将不会添加到跳转列表中,也不会显示。