Renames a specified folder to a new name.
Namespace:
Rebex.Net
Assembly:
Rebex.Imap (in Rebex.Imap.dll)
Syntax
Visual Basic |
---|
Public Sub RenameFolder ( _ folder As String, _ newFolderName As String _ ) |
C# |
---|
public void RenameFolder( string folder, string newFolderName ) |
Parameters
- folder
- Type: System..::..String
Folder to be renamed.
- newFolderName
- Type: System..::..String
New folder name.
Remarks
This method represents IMAP RENAME command.