JumpListCategory Object
typestring (optional) -One of the following:以下其中一项:tasks-Items in this category will be placed into the standard此类别中的项目将被放置到标准Taskscategory.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,显示任务或文件链接,namemust be set by the app.name必须由应用程序设置。
namestring (optional) -Must be set if如果typeiscustom, otherwise it should be omitted.type是custom的,则必须设置,否则应省略。itemsJumpListItem[] (optional) -Array of JumpListItem objects ifJumpListItem对象的数组(如果typeistasksorcustom, 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.超过此限制,该项目将不会添加到跳转列表中,也不会显示。