Changes that might occur to a file or directory.
| C# | Visual Basic |
public enum WatcherChangeTypes
Public Enumeration WatcherChangeTypes
| Member | Description |
|---|---|
| Created |
The creation of a file or folder.
|
| Deleted |
The deletion of a file or folder.
|
| Changed |
The change of a file or folder. The types of changes include: changes to size, attributes, security settings, last write, and last access time.
|
| Renamed |
The renaming of a file or folder.
|
| All |
The creation, deletion, change, or renaming of a file or folder.
|
| HasFlag |
Determines whether one or more bit fields are set in the current instance.
|
Each WatcherChangeTypes member is associated with an event in FileSystemWatcher.
For more information on the events, see Changed, Created, Deleted and Renamed.