Share via


FileSystemInfo.Exists Property

Gets a value indicating whether the file or directory exists.

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

Syntax

public virtual abstract bool Exists { get; }

Property Value

true if the file or directory exists; otherwise, false.

Version Information

Available in .NET Micro Framework version 3.0 and above.

See Also

Reference

FileSystemInfo Class
FileSystemInfo Members
System.IO Namespace