Skip to main content
Table of Contents

TTMSFNCCustomCloudGoogleDrive.Search Method

Searches a folder for items matching a query and reports the result through the search-complete event.

API unit family: TMSFNCCloudGoogleDrive Declaring type: TTMSFNCCustomCloudGoogleDrive

Syntax

FMX.TMSFNCCloudGoogleDrive.hppPascalC++
procedure Search(const AFolderID, AQuery: string; AExactMatch: Boolean; AFileExtension: string = ''; AFileNameOnly: Boolean = True);
void __fastcall Search(const System::UnicodeString AFolderID, const System::UnicodeString AQuery, bool AExactMatch, System::UnicodeString AFileExtension = System::UnicodeString(), bool AFileNameOnly = true);

Parameters

Name Description
AFolderID Identifier of the folder to search; pass an empty string to search from the root.
AQuery Text to match.
AExactMatch When True, requires an exact match rather than a partial one.
AFileExtension Optional file extension filter; empty matches any extension.
AFileNameOnly When True, matches only against the item name rather than its content.