Table of Contents

Method DirectoryExists

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

DirectoryExists(string?)

Gets whether the given path refers to an existing directory.

public virtual bool DirectoryExists(string? path)

Parameters

path string

The path to test.

Returns

bool

true if path refers to an existing directory; false if the directory does not exist or an error occurs during the operation.