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

NotifyFilters

Synopsis

This type represents the different types of filesystem events you can use a FileSystemWatcher to look for. NotifyFilters allows you to indicate what kind of changes a FileSystemWatcher should respond to.

public enum NotifyFilters {
            FileName = 0x00000001,
            DirectoryName = 0x00000002,
            Attributes = 0x00000004,
            Size = 0x00000008,
            LastWrite = 0x00000010,
            LastAccess = 0x00000020,
            CreationTime = 0x00000040,
            Security = 0x00000100
}

Hierarchy

System.Object→System.ValueType→System.Enum(System.IComparable, System.IFormattable, System.IConvertible)→NotifyFilters

Returned By

FileSystemWatcher.NotifyFilter

Passed To

FileSystemWatcher.NotifyFilter

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