Name

WatcherChangeTypes

Synopsis

This enumeration represents the different types of changes that can occur on a file. It is used by FileSystemEventArgs.

public enum WatcherChangeTypes {
            Created = 0x00000001,
            Deleted = 0x00000002,
            Changed = 0x00000004,
            Renamed = 0x00000008,
            All = 0x0000000F
}

Hierarchy

System.ObjectSystem.ValueTypeSystem.Enum(System.IComparable, System.IFormattable, System.IConvertible)WatcherChangeTypes

Returned By

FileSystemEventArgs.ChangeType, WaitForChangedResult.ChangeType

Passed To

FileSystemEventArgs.FileSystemEventArgs(), FileSystemWatcher.WaitForChanged(), RenamedEventArgs.RenamedEventArgs(), WaitForChangedResult.ChangeType

Get C# in a Nutshell 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.