Saltar al contenido principal

Objeto JumpListCategory

  • type string (opcional) - Uno de los siguientes:
    • tasks - Los objetos en esta categoría se colocarán en la categoría estándar de Tasks. Puede haber sólo una categoría, y siempre será mostrada en la parte inferior de la Lista Jump.
    • frequent - Muestra una lista de archivos abiertos frecuentemente por la aplicación, el nombre de la categoría y sus objetos son establecidos por Windows.
    • recent - Muestra una lista de archivos abiertos recientemente por la aplicación, el nombre de la categoría y sus objetos son establecidos por Windows. Los objetos pueden ser añadidos indirectamente a esta categoría usando app.addRecentDocument(path).
    • custom - Muestra las tareas o los enlaces a archivo, name debe ser establecido por la aplicación.
  • name string (opcional) - Debe establecerse si type es custom, de lo contrario debe omitirse.
  • items JumpListItem[] (optional) - Array of JumpListItem objects if type is tasks or custom, otherwise it should be omitted.

[!NOTE] If a JumpListCategory object has neither the type nor the name property set then its type is assumed to be tasks. If the name property is set but the type property is omitted then the type is assumed to be custom.

[!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.