Represents the method that will handle the Changed, Created, or Deleted event of a FileSystemWatcher class.
| C# | Visual Basic |
public delegate void FileSystemEventHandler( Object sender, FileSystemEventArgs e )
Public Delegate Sub FileSystemEventHandler ( _ sender As Object, _ e As FileSystemEventArgs _ )
- sender (Object)
- The source of the event.
- e (FileSystemEventArgs)
- The FileSystemEventArgs that contains the event data.