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.141 -- Release Build+8fc1477299d57116e2a4f3cb8dfe059f814b239b
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