Gets or sets a value indicating whether subdirectories within the specified path should be monitored.
Assembly: System (in System.dll)
Set Path property, and its subdirectories. Setting the property to false helps reduce the number of notifications sent to the internal buffer. For more information on filtering out unwanted notifications, see the NotifyFilter and InternalBufferSize properties.to true when you want to watch for change notifications for files and directories contained within the directory specified through the
When true, Name property of FileSystemEventArgs and the OldName property of RenamedEventArgs, depending on changes you are watching for. You can get the fully qualified path from the FullPath property of FileSystemEventArgs and the OldFullPath property of RenamedEventArgs, depending on the changes you are watching for.is recursive through the entire sub tree, not just the immediate child directories. The relative path to a file or directory within the sub tree returns in the
If a directory is created in the sub tree of the directory you are watching, andis true, that directory will automatically be watched.
Available since 10
Available since 1.1