PhysicalFileSystemProvider.RenameFile(FileManagerFile, String) Method
Implements file renaming.
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 renamed file. |
name | String | A String value specifying a new file name. |
Remarks
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