Gemstone Common Library
Show/Hide TOC

# SafeFileWatcherPath Property

Gets or sets the path of the directory to watch.

## Definition

Namespace: Gemstone.IO
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.160 -- Release Build+19b74ac03cedad8575bb1ceb00051318b7421d0d
C#
View Source Request Example

    public string Path { get; set; }

VB
View Source Request Example

    Public Property Path As String
    	Get
    	Set

C++
View Source Request Example

    public:
    property String^ Path {
    	String^ get ();
    	void set (String^ value);
    }

JavaScript
View Source Request Example

    function get_Path();
    function set_Path(value);

#### Return Value

String
The path to monitor. The default is an empty string ("").

## Exceptions

ArgumentException | The specified path does not exist or could not be found. -or- The specified path contains wildcard characters. -or- The specified path contains invalid path characters.

## See Also

#### Reference

SafeFileWatcher Class
Gemstone.IO Namespace