Vcl.JumpList.TCustomJumpList.GetFrequentList

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

__classmethod bool __fastcall GetFrequentList(const System::UnicodeString AppModelID, /* out */ _di_IObjectArray &ObjectList, int NumItems = 0x0)/* overload */;
__classmethod bool __fastcall GetFrequentList(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 paths that the user opens with your application most often.

GetFrequentList 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