Skip to main content
Tab

DataSourceFileSystemProvider.RenameFile(FileManagerFile, String) Method

Implements file renaming.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public override void RenameFile(
    FileManagerFile file,
    string name
)

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 DataSourceFileSystemProvider is used.

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

See Also