Method Rename
Rename(IApplication, IFileSystem, IFileSystemInfo)
Specifies how to handle file/directory rename attempts in FileDialog.
public IFileSystemInfo Rename(IApplication app, IFileSystem fileSystem, IFileSystemInfo toRename)
Parameters
appIApplicationfileSystemIFileSystemtoRenameIFileSystemInfo
Returns
- IFileSystemInfo
The new name for the file or null if cancelled
Remarks
Ensure you use a try/catch block with appropriate error handling (e.g. showing a MessageBox