SearchResult Event
Fired for each search result.
Syntax
typedef void __fastcall (__closure *TicsDropboxSearchResultEvent)(System::TObject* Sender, TicsDropboxSearchResultEventParams *e);__property TicsDropboxSearchResultEvent OnSearchResult = {read=FOnSearchResult, write=FOnSearchResult};
typedef struct {
String Path;
String Name;
String Id;
String ModifiedDate;
String Revision;
__int64 Size;
int ResourceType;
String MatchType;
} TicsDropboxSearchResultEventParams;
Remarks
This event fires with information about each resource listed when calling ListResources, GetResourceInfo, and Search.
Path is the absolute path to the resource.
Name is the name of the resource.
Id is the Id of the resource.
ModifiedDate is the modified date of the resource.
Revision is the revision of the file.
Size is the size of the file in bytes.
ResourceType indicates whether the resource is a file or folder. Possible value are:
0 | File |
1 | Folder |
MatchType
Indicates how the match was made. Possible values are:
0 | Filename matched |
1 | Content matched |
2 | Filename and Content matched |