This documentation is archived and is not being maintained.
WatcherChangeTypes Enumeration
Visual Studio 2010
Changes that might occur to a file or directory.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.IOAssembly: System (in System.dll)
| Member name | 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. |
Each WatcherChangeTypes member is associated with an event in FileSystemWatcher. For more information on the events, see Created, Deleted, Changed, and Renamed.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: