Vcl.JumpList.TCustomJumpList.GetRecentList
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 */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | Vcl.JumpList.pas Vcl.JumpList.hpp |
Vcl.JumpList | TCustomJumpList |
説明
指定された文字列の配列を、ユーザーがアプリケーションで最近開いたパスのリストで設定します。
GetRecentList は、リストが正常に取得された場合には True
を、そうでなければ False
を返します。
アプリケーションは、AddToRecent メソッドを使用して、頻繁に開くファイルのリストに、独自のエントリを追加することができます。