| ImapRenameFolderAsync Method (String, String) |
Changes the name of a folder (mailbox).
Namespace:
Limilabs.Client.IMAP
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public Task RenameFolderAsync(
string existingFolder,
string newFolder
)
Public Function RenameFolderAsync (
existingFolder As String,
newFolder As String
) As Task
public:
Task^ RenameFolderAsync(
String^ existingFolder,
String^ newFolder
)
member RenameFolderAsync :
existingFolder : string *
newFolder : string -> Task
Parameters
- existingFolder
- Type: SystemString
Existing folder name. - newFolder
- Type: SystemString
New folder name.
Return Value
Type:
TaskA task that represents the asynchronous rename IMAP folder operation.
Remarks
IMAP servers may differ in the separator character used in folder hierarchy paths.
Common separator chars are '.' and '/'. For example: "Inbox/Folder" or "Inbox.Folder".
See Also