TTMSFNCCloudMicrosoftOneDrive.SearchPromise Method
Promise-based variant of Search.
API unit family: TMSFNCCloudMicrosoftOneDrive
Declaring type: TTMSFNCCloudMicrosoftOneDrive
Inherited from: TTMSFNCCustomCloudMicrosoftOneDrive
Syntax
function SearchPromise(AQuery: string; AFolderName: string = ''): IPromise<TVoid>;
System::DelphiInterface<IPromise__1<TVoid*> > __fastcall SearchPromise(System::UnicodeString AQuery, System::UnicodeString AFolderName = System::UnicodeString());
Parameters
| Name | Description |
|---|---|
AQuery |
Text to match. |
AFolderName |
Optional folder path to search within; empty searches from the root. |
Returns
A promise that resolves when the search has completed.