Table of Contents

TTMSFNCCustomCloudDropBox.SearchPromise Method

Promise-based variant of Search.

API unit family: TMSFNCCloudDropBox Declaring type: TTMSFNCCustomCloudDropBox

Syntax

function SearchPromise(const AFolderName: string; const AQuery: string; AFileExtensions: TStringArray = nil; AFileNameOnly: Boolean = True): IPromise<TVoid>;

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.