Επεξεργασία

Κοινή χρήση μέσω


RenamedEventArgs(WatcherChangeTypes, String, String, String) Constructor

Definition

Initializes a new instance of the RenamedEventArgs class.

public:
 RenamedEventArgs(System::IO::WatcherChangeTypes changeType, System::String ^ directory, System::String ^ name, System::String ^ oldName);
public RenamedEventArgs (System.IO.WatcherChangeTypes changeType, string directory, string? name, string? oldName);
public RenamedEventArgs (System.IO.WatcherChangeTypes changeType, string directory, string name, string oldName);
new System.IO.RenamedEventArgs : System.IO.WatcherChangeTypes * string * string * string -> System.IO.RenamedEventArgs
Public Sub New (changeType As WatcherChangeTypes, directory As String, name As String, oldName As String)

Parameters

changeType
WatcherChangeTypes

One of the WatcherChangeTypes values.

directory
String

The name of the affected file or directory.

name
String

The name of the affected file or directory.

oldName
String

The old name of the affected file or directory.

Applies to

See also