tumblr tracker

Exists

Library Reference ›› Folder ››
Parent Previous Next

Folder.Exists


Namespace: Folder


Checks whether a folder exists.


retval = Folder.Exists(Path)


Parameters:

- Path; string constant or variable containing the folder path to check for existence


Returns:

true if folder exists, false otherwise; boolean value.


Example


If (Folder.Exists("C:\TEMP\WEB2"))
{
   MessageBox.ShowInfo("Folder Exists.");
}