[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 a file exists.
Assembly: System.IO (in System.IO.dll)
The property returns false if any error occurs while trying to determine if the specified file exists. This can occur in situations that raise exceptions such as passing a file name with invalid characters or too many characters, a failing or missing disk, or if the caller does not have permission to read the file.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.