Occurs when a file in the specified Path is changed or added
public event FileSystemEventHandler WatcherChanged
public:
event FileSystemEventHandler^ WatcherChanged
public:
event FileSystemEventHandler^ WatcherChanged
The event handler receives an argument of type FileSystemEventArgs containing data related to this event. The following FileSystemEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ChangeType | Gets the type of directory event that occurred. |
FullPath | Gets the fully qualifed path of the affected file or directory. |
Name | Gets the name of the affected file or directory. |
The Changed event is raised when changes are made to the size, system attributes, last write time, last access time, or security permissions of a file or directory in the directory being monitored.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document