RenamedEventArgs

RenamedEventArgs

System.IO (system.dll)class

This type represents the arguments passed by a FileSystemWatcher.Renamed event.

public class RenamedEventArgs : FileSystemEventArgs {
// Public Constructors
   public RenamedEventArgs(WatcherChangeTypes changeType, string directory, string name, 
        string oldName);
// Public Instance Properties
   public string OldFullPath{get; }
   public string OldName{get; }
}

Hierarchy

System.Object System.EventArgs FileSystemEventArgs RenamedEventArgs

Passed To

FileSystemWatcher.OnRenamed( ), RenamedEventHandler.{BeginInvoke( ), Invoke( )}



    Part II: Programming with the .NET Framework
    Part IV: API Quick Reference
    Chapter 26. System