directory class : Exists getter
Description
Gets a value that indicates whether the directory is exist.
Syntax
directoryInstance.Exists
Arguments
None
Return value
| Class | Description |
| bool | A value that indicates whether the directory is exist. |
Sample code
| 1: | directory dir = new directory("c:\somewhere..."); |
| 2: | bool exist = dir.Exists; |
Notes
It's a wrapper of the System.IO.DirectoryInfo.Exists property.
If the directory is already exist, return true. Otherwise, return false.


