Vcl.JumpList.TCustomJumpList.GetFrequentList
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 */;
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | Vcl.JumpList.pas Vcl.JumpList.hpp |
Vcl.JumpList | TCustomJumpList |
Beschreibung
Füllt das angegebene Array von Strings mit der Liste der Pfaden, die der Benutzer mit Ihrer Anwendung am häufigsten öffnet.
GetFrequentList gibt True
zurück, wenn die Liste erfolgreich abgerufen wurde. Ansonsten wird False
zurückgegeben.
Ihre Anwendung kann mit der Methode AddToRecent ihre eigenen Einträge zu der Liste von häufig verwendeten Dateien hinzufügen.