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
- jumpTask
Type: Microsoft.Windows.Shell.JumpTask
The JumpTask to add to the Jump List.
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
-
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.