Name

WaitForChangedResult

Synopsis

This structure contains the changes on a file. This is used to construct FileSystemEventArgs and RenamedEventArgs.

public struct WaitForChangedResult {
// Public Instance Properties
   public WatcherChangeTypes ChangeType{set; get; }
   public string Name{set; get; }
   public string OldName{set; get; }
   public bool TimedOut{set; get; }
}

Hierarchy

System.Object System.ValueType WaitForChangedResult

Returned By

FileSystemWatcher.WaitForChanged( )

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