Skip to main content
Table of Contents

TTMSFNCCloudBox.Search Method

Searches Box items in a folder.

API unit family: TMSFNCCloudBox Declaring type: TTMSFNCCloudBox Inherited from: TTMSFNCCustomCloudBox

Syntax

FMX.TMSFNCCloudBox.hppPascalC++
function Search(const AFolderID: string; const AQuery: string; AExactMatch: Boolean = true; AFileExtensions: TTMSFNCCloudBoxStringArray = nil; AFileNameOnly: Boolean = True): TTMSFNCCloudItems;
TTMSFNCCloudItems* __fastcall Search(const System::UnicodeString AFolderID, const System::UnicodeString AQuery, bool AExactMatch = true, TTMSFNCCloudBoxStringArray AFileExtensions = TTMSFNCCloudBoxStringArray(), bool AFileNameOnly = true);

Parameters

Name Description
AFolderID Box folder identifier that scopes the search.
AQuery Text to search for.
AExactMatch Set to True to match file names exactly.
AFileExtensions Optional file extension filters.
AFileNameOnly Set to True to search file names instead of broader item metadata.

Returns

A collection containing matching Box items.