Name
RenamedEventArgs
Synopsis
This type represents the
arguments passed by a
FileSystemWatcher.Renamed
event.
public class RenamedEventArgs : FileSystemEventArgs { // Public Constructors public RenamedEventArgs(WatcherChangeTypeschangeType
, stringdirectory
, stringname
, stringoldName
); // 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( )}
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.