Specifies changes to watch for in a file or folder.
| C# | Visual Basic |
public enum NotifyFilters
Public Enumeration NotifyFilters
| Member | Description |
|---|---|
| FileName |
The name of the file.
|
| DirectoryName |
The name of the directory.
|
| Attributes |
The attributes of the file or folder.
|
| CreationTime |
The time the file or folder was created.
|
| LastAccess |
The date the file or folder was last opened.
|
| LastWrite |
The date the file or folder last had anything written to it.
|
| Size |
The size of the file or folder.
|
You can combine the members of this enumeration to watch for more than one kind of change. For example, you can watch for changes in the size of a file or folder, and for changes in security settings. This raises an event anytime there is a change in size or security settings of a file or folder.