共用方式為


RenamedEventArgs(WatcherChangeTypes, String, String, String) 建構函式

定義

初始化 RenamedEventArgs 類別的新執行個體。

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)

參數

changeType
WatcherChangeTypes

其中一個 WatcherChangeTypes 值。

directory
String

受影響檔案或目錄的名稱。

name
String

受影響檔案或目錄的名稱。

oldName
String

受影響檔案或目錄的舊名稱。

適用於

另請參閱