Skip to main content
Tab

PhysicalFileSystemProvider.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 where the current file is being copied.

Remarks

The CopyFile method implements copying a file when the PhysicalFileSystemProvider is used.

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

See Also