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.ObjectSystem.ValueTypeSystem.Enum(System.IComparable, System.IFormattable, System.IConvertible)NotifyFilters

Returned By

FileSystemWatcher.NotifyFilter

Passed To

FileSystemWatcher.NotifyFilter

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.