OnRenameFolderStart

The OnRenameFolderStart Event occurs when a user attempts to rename a folder. This event happens before the folder is renamed permitting you to stop the renaming if desired.

Signature

For custom code the args array is structured as follows:

args[] is contains two strings, the first represents the fully qualified current folder name, the second is the new folder name.

For .Net Assemblies the method signature is as follows:

string EventHandlerName(SessionInfo sessionInfo, string currentFolderName, string newFolderName)

Expected Return

The OnRenameFolderStart Event expects a string to be returned. Based on the returned string there are three possible results.