FileSystemEventArgs(WatcherChangeTypes, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the FileSystemEventArgs class.
public:
FileSystemEventArgs(System::IO::WatcherChangeTypes changeType, System::String ^ directory, System::String ^ name);
public FileSystemEventArgs (System.IO.WatcherChangeTypes changeType, string directory, string? name);
public FileSystemEventArgs (System.IO.WatcherChangeTypes changeType, string directory, string name);
new System.IO.FileSystemEventArgs : System.IO.WatcherChangeTypes * string * string -> System.IO.FileSystemEventArgs
Public Sub New (changeType As WatcherChangeTypes, directory As String, name As String)
Parameters
- changeType
- WatcherChangeTypes
One of the WatcherChangeTypes values, which represents the kind of change detected in the file system.
- directory
- String
The root directory of the affected file or directory.
- name
- String
The name of the affected file or directory.
Applies to
See also
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา