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.175 -- Release Build+70cfebd19f80455d07e1cf93607e59f6af0e38f4
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