メインコンテンツへ飛ぶ

JumpListCategory オブジェクト

  • type string (任意) - 以下のいずれかです。
    • tasks - このカテゴリの項目は、標準の タスク カテゴリに配置されます。 このようなカテゴリが1つだけあると、ジャンプリストの下部に常に表示されます。
    • frequent - アプリによってよく開くファイルの一覧が表示されます。カテゴリの名前と項目はWindowsによって設定されます。
    • recent - アプリによって最近開いたファイルの一覧が表示されます。カテゴリの名前と項目はWindowsによって設定されます。 app.addRecentDocument(path) を使用すると、このカテゴリへ項目が間接的に追加されることがあります。
    • custom - タスクやファイルのリンクを表示します。name は必ずアプリによって設定されなければなりません。
  • name string (任意) - typecustom の場合は必ず設定し、それ以外は省略しなければなりません。
  • 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.