TTMSFNCCloudDropBox.SearchPromise Method
Promise-based variant of Search.
API unit family: TMSFNCCloudDropBox
Declaring type: TTMSFNCCloudDropBox
Inherited from: TTMSFNCCustomCloudDropBox
Syntax
function SearchPromise(const AFolderName: string; const AQuery: string; AFileExtensions: TStringArray = nil; AFileNameOnly: Boolean = True): IPromise<TVoid>;
System::DelphiInterface<IPromise__1<TVoid*> > __fastcall SearchPromise(const System::UnicodeString AFolderName, const System::UnicodeString AQuery, Fmx::Tmsfnccloudstorage::TStringArray AFileExtensions = Fmx::Tmsfnccloudstorage::TStringArray(), bool AFileNameOnly = true);
Parameters
| Name | Description |
|---|---|
AFolderName |
Folder to search within; empty searches from the root. |
AQuery |
Text to match. |
AFileExtensions |
Optional list of extensions to restrict the results. |
AFileNameOnly |
When True, matches file names only. |
Returns
A promise that resolves when the search has completed.