Skip to main content
Table of Contents

TTMSFNCCloudGoogleDrive.SearchFilePromise Method

Promise-based variant of SearchFile.

API unit family: TMSFNCCloudGoogleDrive Declaring type: TTMSFNCCloudGoogleDrive Inherited from: TTMSFNCCustomCloudGoogleDrive

Syntax

FMX.TMSFNCCloudGoogleDrive.hppPascalC++
function SearchFilePromise(AFileName: string; AExactMatch: Boolean = false): IPromise<TVoid>;
System::DelphiInterface<IPromise__1<TVoid*> > __fastcall SearchFilePromise(System::UnicodeString AFileName, bool AExactMatch = false);

Parameters

Name Description
AFileName File name to match.
AExactMatch When True, requires an exact match rather than a partial one.

Returns

A promise that resolves when the search has completed.