JumpList.AddToRecentCategory JumpList.AddToRecentCategory JumpList.AddToRecentCategory JumpList.AddToRecentCategory Method

Definition

Adds the specified item to the Recent category of the Jump List.

Overloads

AddToRecentCategory(String) AddToRecentCategory(String) AddToRecentCategory(String) AddToRecentCategory(String)

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

AddToRecentCategory(JumpPath) AddToRecentCategory(JumpPath) AddToRecentCategory(JumpPath)

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

AddToRecentCategory(JumpTask) AddToRecentCategory(JumpTask) AddToRecentCategory(JumpTask)

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

AddToRecentCategory(String) AddToRecentCategory(String) AddToRecentCategory(String) AddToRecentCategory(String)

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

public:
 static void AddToRecentCategory(System::String ^ itemPath);
[System.Security.SecurityCritical]
public static void AddToRecentCategory (string itemPath);
static member AddToRecentCategory : string -> unit
Public Shared Sub AddToRecentCategory (itemPath As String)

Parameters

itemPath
String String String String

The path 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(String) method to request that the Windows shell add an item 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(String) will fail silently.

Security

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

See also

AddToRecentCategory(JumpPath) AddToRecentCategory(JumpPath) AddToRecentCategory(JumpPath)

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

public:
 static void AddToRecentCategory(System::Windows::Shell::JumpPath ^ jumpPath);
[System.Security.SecurityCritical]
public static void AddToRecentCategory (System.Windows.Shell.JumpPath jumpPath);
static member AddToRecentCategory : System.Windows.Shell.JumpPath -> unit

Parameters

jumpPath
JumpPath JumpPath JumpPath JumpPath

The JumpPath 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(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.

Security

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

See also

AddToRecentCategory(JumpTask) AddToRecentCategory(JumpTask) AddToRecentCategory(JumpTask)

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

public:
 static void AddToRecentCategory(System::Windows::Shell::JumpTask ^ jumpTask);
[System.Security.SecurityCritical]
public static void AddToRecentCategory (System.Windows.Shell.JumpTask jumpTask);
static member AddToRecentCategory : System.Windows.Shell.JumpTask -> unit

Parameters

jumpTask
JumpTask JumpTask JumpTask 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.

Security

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

See also

Applies to