TTMSFNCCloudDropBox.Search Method
Searches a folder for items matching a query.
API unit family: TMSFNCCloudDropBox
Declaring type: TTMSFNCCloudDropBox
Inherited from: TTMSFNCCustomCloudDropBox
Syntax
function Search(const AFolderName: string; const AQuery: string; AFileExtensions: TStringArray = nil; AFileNameOnly: Boolean = True): TTMSFNCCloudItems;
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.