Share via


JumpList.AddToRecentCategory Method (JumpTask)

Adds the specified jump task to the Recent category of the Jump List.

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

Syntax

'Declaration
Public Shared Sub AddToRecentCategory ( _
    jumpTask As JumpTask _
)
public static void AddToRecentCategory(
    JumpTask jumpTask
)
public:
static void AddToRecentCategory(
    JumpTask^ jumpTask
)
static member AddToRecentCategory : 
        jumpTask:JumpTask -> unit 
public static function AddToRecentCategory(
    jumpTask : JumpTask
)

Parameters

Remarks

The contents of the Recent category are managed by the Windows shell. To display recently used items in the Jump List, set the ShowRecentCategory property to true.

You can call the AddToRecentCategory(JumpTask) method to request that the Windows shell add the specified jump task to the Recent items list.

.NET Framework Security

See Also

Reference

JumpList Class

AddToRecentCategory Overload

Microsoft.Windows.Shell Namespace

ShowRecentCategory