Share via


JumpList Constructor (IEnumerable<JumpItem>, Boolean, Boolean)

Initializes a new instance of the JumpList class with the specified parameters.

Namespace:  Microsoft.Windows.Shell
Assembly:  Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)

Syntax

'Declaration
Public Sub New ( _
    items As IEnumerable(Of JumpItem), _
    showFrequent As Boolean, _
    showRecent As Boolean _
)
public JumpList(
    IEnumerable<JumpItem> items,
    bool showFrequent,
    bool showRecent
)
public:
JumpList(
    IEnumerable<JumpItem^>^ items, 
    bool showFrequent, 
    bool showRecent
)
new : 
        items:IEnumerable<JumpItem> * 
        showFrequent:bool * 
        showRecent:bool -> JumpList
public function JumpList(
    items : IEnumerable<JumpItem>, 
    showFrequent : boolean, 
    showRecent : boolean
)

Parameters

  • showFrequent
    Type: System.Boolean
    A value that indicates whether frequently used items are displayed in the Jump List.
  • showRecent
    Type: System.Boolean
    A value that indicates whether recently used items are displayed in the Jump List.

Remarks

The Recent and Frequent categories often contain many of the same jump items. As a result, applications typically display either the Recent or the Frequent category in the Jump List, but not both.

.NET Framework Security

See Also

Reference

JumpList Class

JumpList Overload

Microsoft.Windows.Shell Namespace

JumpItems

ShowFrequentCategory

ShowRecentCategory