Mono Class Library: System.IO.FileSystemWatcher Overview | Members

System.IO.FileSystemWatcher Constructor

Constructs a new instance of the System.IO.FileSystemWatcher class using path as default directoty to monitor and filter to determine the files to monitor. [Edit]

public FileSystemWatcher (string path, string filter)

Parameters

path
Documentation for this section has not yet been entered. [Edit]
filter
A glob pattern specification for file changes to monitor. [Edit]

Remarks

Use this constructor if you want to limit the notifications to only the files that match the glob pattern specified. This is the same pattern that you could use in a call to Directory.GetFiles(string, string). [Edit]

Requirements

Namespace: System.IO
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0