LumiSoft Net Help
RenameFolder Method (folder, newFolder)
NamespacesLumiSoft.Net.IMAP.ClientIMAP_ClientRenameFolder(String, String)
Renames exisiting folder name.
Declaration Syntax
C#Visual BasicVisual C++F#
public void RenameFolder(
	string folder,
	string newFolder
)
Public Sub RenameFolder ( 
	folder As String,
	newFolder As String
)
public:
void RenameFolder(
	String^ folder, 
	String^ newFolder
)
member RenameFolder : 
        folder : string * 
        newFolder : string -> unit 
Parameters
folder (String)
Folder name with path to rename.
newFolder (String)
New folder name with path.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and and this method is accessed.
InvalidOperationExceptionIs raised when IMAP client is not in valid state. For example 'not connected'.
ArgumentNullExceptionIs raised when folder or newFolder is null reference.
ArgumentExceptionIs raised when any of the arguments has invalid value.
IMAP_ClientExceptionIs raised when server refuses to complete this command and returns error.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119