Initializes a new instance of the FileSystemEventArgs class.
[Visual Basic] Public Sub New( _ ByVal changeType As WatcherChangeTypes, _ ByVal directory As String, _ ByVal name As String _ ) [C#] public FileSystemEventArgs( WatcherChangeTypes changeType, string directory, string name ); [C++] public: FileSystemEventArgs( WatcherChangeTypes changeType, String* directory, String* name ); [JScript] public function FileSystemEventArgs( changeType : WatcherChangeTypes, directory : String, name : String );
The FileSystemWatcher component will create and call an event handler passing in this object, specifying the type of change and the affected file or directory.
FileSystemEventArgs Class | FileSystemEventArgs Members | System.IO Namespace | FileSystemWatcher | WatcherChangeTypes