O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required