PhysicalFileSystemProvider.Exists(FileManagerFile) Method
Implements the file existence verification.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v19.1.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
file | FileManagerFile | A FileManagerFile object that is the processed file. |
Returns
Type | Description |
---|---|
Boolean | true if the file exists within a file manager; otherwise, false. |
Remarks
The Exists method implements the file existence verification when the default PhysicalFileSystemProvider is used.
If you create a custom file system provider inherited from the PhysicalFileSystemProvider class, you can override the Exists method to perform any custom actions.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Exists(FileManagerFile) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.