Skip to main content
Tab

FileSystemProviderBase.CopyFile(FileManagerFile, FileManagerFolder) Method

Override this method to implement copying a file.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public virtual 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 the folder to which the current file is being copied.

Remarks

If you create a custom file system provider inherited from the FileSystemProviderBase class, you can override the CopyFile method to copy a file.

By default, the method has no implementation, and should be overridden if file copying is allowed (the FileManagerSettingsEditing.AllowCopy property is set to true).

See Also