FileSystemWatcher Xojo Plugin

FileSystemWatcher.FolderWatchAt Method

Retrieves folder watch at a given index.

FolderWatchAt(
   index as Integer) as FolderItem

Parameters

index
The index of the watch to fetch. (first watch is at index zero)

Returns

FolderItem
The directory that is watched as FolderItem or nil if the index was out of bounds.

Remarks

Use the FolderWatchCount property so check how many watches there are.

See Also

FileSystemWatcher Class