Vcl.JumpList.TCustomJumpList.GetRecentList

De RAD Studio API Documentation
Aller à : navigation, rechercher

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 */;

Propriétés

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


Description

Remplit le tableau de chaînes spécifié avec la liste des chemins que l'utilisateur ouvre le plus souvent avec votre application.

MsgSetDateTime renvoie True si la liste est correctement extraite, sinon False est renvoyée.

Votre application peut ajouter ses propres entrées à la liste des fichiers fréquents en utilisant la méthode AddToRecent.

Voir aussi