Name

RenamedEventArgs

Synopsis

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

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

Hierarchy

System.ObjectSystem.EventArgsFileSystemEventArgsRenamedEventArgs

Passed To

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

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.