Name
FileSystemEventArgs
Synopsis
This class offers the arguments for
a
FileSystemEventHandler
.
public class FileSystemEventArgs : EventArgs { // Public Constructors public FileSystemEventArgs(WatcherChangeTypeschangeType
, stringdirectory
, stringname
); // Public Instance Properties public WatcherChangeTypes ChangeType{get; } public string FullPath{get; } public string Name{get; } }
Hierarchy
System.Object
→
System.EventArgs
→
FileSystemEventArgs
Subclasses
RenamedEventArgs
Passed To
FileSystemEventHandler.{BeginInvoke( )
,
Invoke( )}
, FileSystemWatcher.{OnChanged( )
, OnCreated( )
, OnDeleted( )}
Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.