Skip to main content
Table of Contents

TTMSFNCCloudDropBox.Search Method

Searches a folder for items matching a query.

API unit family: TMSFNCCloudDropBox Declaring type: TTMSFNCCloudDropBox Inherited from: TTMSFNCCustomCloudDropBox

Syntax

FMX.TMSFNCCloudDropBox.hppPascalC++
function Search(const AFolderName: string; const AQuery: string; AFileExtensions: TStringArray = nil; AFileNameOnly: Boolean = True): TTMSFNCCloudItems;
TTMSFNCCloudItems* __fastcall Search(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; otherwise matches file content as well.

Returns

Collection of matching items.