_FileSystemEventArgs Type
Provides data for the directory events: OnChanged, OnCreated, OnDeleted.
The FileSystemEventArgs is passed as a parameter to event handlers
for these events:
The OnChanged event occurs when
changes are made to the size, system attributes, last write time,
last access time, or security permissions in a file or directory in
the specified Path of a CNClrLib.Component.FileSystemWatcher|TCnFileSystemWatcher
.
The OnCreated event occurs when a file or directory
in the specified Path of a CNClrLib.Component.FileSystemWatcher|TCnFileSystemWatcher
is created.
The OnDeleted event occurs when a file or
directory in the specified Path of a CNClrLib.Component.FileSystemWatcher|TCnFileSystemWatcher
is deleted.
For more information, see FileSystemWatcher in C#.
Properties | 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. |