Share via


DirectoryInfo.Exists Property

Specifies whether this directory already exists.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)

Syntax

public override bool Exists { get; }

Property Value

Returns true if this directory exists, or false otherwise.

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

DirectoryInfo Class
DirectoryInfo Members
System.IO Namespace