FileSystemProviderBase.CopyFile(FileManagerFile, FileManagerFolder) Method
In This Article
Override this method to implement copying a file.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public virtual void CopyFile(
FileManagerFile file,
FileManagerFolder newParentFolder
)
#Parameters
Name | Type | Description |
---|---|---|
file | File |
A File |
new |
File |
A File |
#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