Vcl.JumpList.TCustomJumpList.GetRecentList

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function GetRecentList(const AppModelID: string; out ObjectList: IObjectArray; NumItems: Integer = 0): Boolean; overload; inline;
class function GetRecentList(const AppModelID: string; out Items: TArray<string>; NumItems: Integer = 0): Boolean; overload;

C++

__classmethod bool __fastcall GetRecentList(const System::UnicodeString AppModelID, /* out */ _di_IObjectArray &ObjectList, int NumItems = 0x0)/* overload */;
__classmethod bool __fastcall GetRecentList(const System::UnicodeString AppModelID, /* out */ System::DynamicArray<System::UnicodeString> &Items, int NumItems = 0x0)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
Vcl.JumpList.pas
Vcl.JumpList.hpp
Vcl.JumpList TCustomJumpList

Description

Fills the specified array of strings with the list of the latest paths that the user has opened with your application.

GetRecentList returns True if the list is retrieved successfully or False otherwise.

Your application can add its own entries to the list of frequent files using the AddToRecent method.

See Also