Skip to main content

PhysicalFileSystemProvider.RenameFile(FileManagerFile, String) Method

Implements file renaming.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web


public override void RenameFile(
    FileManagerFile file,
    string name


Name Type Description
file FileManagerFile

A FileManagerFile object that is the renamed file.

name String

A String value specifying a new file name.


The RenameFile method implements renaming a file when the default PhysicalFileSystemProvider is used.

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

See Also