Skip to main content
Tab

DataSourceFileSystemProvider.Exists(FileManagerFile) Method

Implements the file existence verification.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public override bool Exists(
    FileManagerFile file
)

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 DataSourceFileSystemProvider is used.

If you create a custom file system provider inherited from the DataSourceFileSystemProvider class, you can override the Exists method to perform any custom actions.

See Also