This documentation is archived and is not being maintained.

JumpList.AddToRecentCategory Method (JumpPath)

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

Namespace:  System.Windows.Shell
Assembly:  PresentationFramework (in PresentationFramework.dll)

static member AddToRecentCategory : 
        jumpPath:JumpPath -> unit 


Type: System.Windows.Shell.JumpPath
The JumpPath to add to the Jump List.

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(JumpPath) method to request that the Windows shell add the specified jump path to the Recent items list. If your application is not registered to handle the file type of the item, it will not appear in the Recent list and calls to AddToRecentCategory(JumpPath) will fail silently.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

  • SecurityCriticalAttribute 

    requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.