FileSystemProviderBase.CopyFile(FileManagerFile, FileManagerFolder) Method
Override this method to implement copying a file.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
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