FSEventStreamCreateOptions.PathsToWatch Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A list of directory paths, signifying the root of a filesystem hierarchy to be watched for modifications. If DeviceToWatch is set, the list of paths should be relative to the root of the device. For example, if a volume "MyData" is mounted at "/Volumes/MyData" and you want to watch "/Volumes/MyData/Pictures/July", specify a path string of "Pictures/July". To watch the root of a volume pass a path of "" (the empty string).
public System.Collections.Generic.IReadOnlyList<string>? PathsToWatch { get; set; }
member this.PathsToWatch : System.Collections.Generic.IReadOnlyList<string> with get, set