Exists Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets a value indicating whether the file or directory exists.
Namespace: System.IO
Assembly: System.IO (in System.IO.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property Exists As Boolean
public abstract bool Exists { get; }
public:
virtual property bool Exists {
bool get () abstract;
}
abstract Exists : bool with get
abstract function get Exists () : boolean
Property Value
Type: System. . :: . .Boolean
true if the file or directory exists; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.