Property Exists
Exists
Gets a value indicating whether the file/directory exists.
Declaration
bool Exists { get; }
Property Value
Type | Description |
---|---|
bool |
Remarks
Usage of the State property is recommended instead of this property in most cases, as it provides more detailed information about the entry state, allowing better handling of the various scenarios that can cause a file not to exist.