Skip to content

IFileSystem.DirectoryExists method

Checks whether a directory exists at the specified path.

public bool DirectoryExists(string path)
parameter description
path The path of the directory.

Return Value

true if the directory exists; otherwise, false.

See Also