NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

WatcherTarget Enumeration

Specifies whether to monitor a file, directory, or both.

[Visual Basic]
Public Enum WatcherTarget
[C#]
public enum WatcherTarget
[C++]
public enum WatcherTarget

[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.

Remarks

Use the members of this enumeration to watch a file, directory, or both files and directories. Only one member can be used at a time.

Members

Member Name Description
Both Watch both files and directories.
Directory The directory to watch.
File The file to watch.

Requirements

Namespace: System.IO

Assembly: system.io.dll

See Also

System.IO Namespace