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.178 -- Release Build+f8a23028fef00502c7e35bcc3934c260e8a0eb56
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