JumpListCategory 对象
type
字符串 (可选) - 下列之一:tasks
-此类别中的项目将放在标准tasks
类别中。 只能有一个这样的类别, 它将始终显示在跳转列表的底部。frequent
-显示应用程序经常打开的文件列表, 该类别的名称及其项由 Windows 设置。recent
-显示应用程序最近打开的文件列表, 该类别的名称及其项由 Windows 设置。 可以使用app. addRecentDocument (路径)
间接地将项目添加到此类别。custom
-显示任务或文件链接,名称
必须由应用程序设置。
name
字符串(可选的)--如果type
是custom
则必须设置, 否则应省略它。items
JumpListItem[] (optional) - Array of JumpListItem objects iftype
istasks
orcustom
, otherwise it should be omitted.
[!NOTE] If a
JumpListCategory
object has neither thetype
nor thename
property set then itstype
is assumed to betasks
. If thename
property is set but thetype
property is omitted then thetype
is assumed to becustom
.
[!NOTE] The maximum length of a Jump List item's
description
property is 260 characters. Beyond this limit, the item will not be added to the Jump List, nor will it be displayed.