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.164 -- Release Build+6bbd7ea5ff4ad8917f12d693358b77d083ee278e
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