Skip to main content
Tab

DataSourceFileSystemProvider.CopyFile(FileManagerFile, FileManagerFolder) Method

Implements file copying.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public override void CopyFile(
    FileManagerFile file,
    FileManagerFolder newParentFolder
)

Parameters

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.

Remarks

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