Export (0) Print
Expand All

FileSystemEventArgs Constructor

Initializes a new instance of the FileSystemEventArgs class.

Namespace:  System.IO
Assembly:  System (in System.dll)

public:
FileSystemEventArgs(
	WatcherChangeTypes changeType, 
	String^ directory, 
	String^ name
)

Parameters

changeType
Type: System.IO::WatcherChangeTypes

One of the WatcherChangeTypes values, which represents the kind of change detected in the file system.

directory
Type: System::String

The root directory of the affected file or directory.

name
Type: System::String

The name of the affected file or directory.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft