Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets a value that indicates whether recently used items are displayed in the Jump List.
Namespace: Microsoft.Windows.Shell
Assembly: Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)
Syntax
'Declaration
Public Property ShowRecentCategory As Boolean
public bool ShowRecentCategory { get; set; }
public:
property bool ShowRecentCategory {
bool get ();
void set (bool value);
}
member ShowRecentCategory : bool with get, set
function get ShowRecentCategory () : boolean
function set ShowRecentCategory (value : boolean)
Property Value
Type: System.Boolean
true if recently used items are displayed in the Jump List; otherwise, false. The default is false.
Remarks
The contents of the Recent category are managed by the Windows shell. To display frequently used items in the Jump List, set the ShowRecentCategory property to true.
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.
You can call the AddToRecentCategory method to request that the Windows shell add items to the Recent items list. If your application is not registered to handle the file name type of the item, it will not appear in the Recent list and calls to AddToRecentCategory will fail silently.
.NET Framework Security
- 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.