Equate

<< Click to Display Table of Contents >>

Navigation:  EasyDotNet documentation > Classes > TFileSystemWatcher class >

Equate

Previous pageReturn to chapter overviewNext page

Specifies changes to watch for in a file or folder.

NotifyFiltersEnum             EQUATE(LONG)

NotifyFilters::FileName       EQUATE(001h) ! The name of the file.

NotifyFilters::DirectoryName EQUATE(002h) ! The name of the directory.

NotifyFilters::Attributes     EQUATE(004h) ! The attributes of the file or folder.

NotifyFilters::Size           EQUATE(008h) ! The size of the file or folder.

NotifyFilters::LastWrite     EQUATE(010h) ! The date the file or folder last had anything written to it.

NotifyFilters::LastAccess     EQUATE(020h) ! The date the file or folder was last opened.

NotifyFilters::CreationTime   EQUATE(040h) ! The time the file or folder was created.

NotifyFilters::Security       EQUATE(100h) ! The security settings of the file or folder.

 

Changes that might occur to a file or directory.

WatcherChangeTypesEnum       EQUATE(LONG)

WatcherChangeTypes::Created   EQUATE(01h)   ! The creation of a file or folder.

WatcherChangeTypes::Deleted   EQUATE(02h)   ! The deletion of a file or folder.

WatcherChangeTypes::Changed   EQUATE(04h)   ! The change of a file or folder. The types of changes include: changes to size, attributes, security settings, last write, and last access time.

WatcherChangeTypes::Renamed   EQUATE(08h)   ! The renaming of a file or folder.

WatcherChangeTypes::All       EQUATE(WatcherChangeTypes::Created+WatcherChangeTypes::Deleted+WatcherChangeTypes::Changed+WatcherChangeTypes::Renamed)   ! The creation, deletion, change, or renaming of a file or folder.