Skip to main content

DataSourceFileSystemProvider.CopyFile(FileManagerFile, FileManagerFolder) Method

Implements file copying.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public override void CopyFile(
    FileManagerFile file,
    FileManagerFolder newParentFolder


Name Type Description
file FileManagerFile

A FileManagerFile object that is the copied file.

newParentFolder FileManagerFolder

A FileManagerFolder object that is a folder to which the current file is being copied.


The CopyFile method implements coping a file when the DataSourceFileSystemProvider is used.

If you create a custom file system provider inherited from the DataSourceFileSystemProvider class, you can override the CopyFile method to perform any custom actions when an end-user copes a file.

See Also