| ImapRenameFolderAsync Method (FolderInfo, 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(
FolderInfo existingFolder,
string newFolder
)
Public Function RenameFolderAsync (
existingFolder As FolderInfo,
newFolder As String
) As Task
public:
Task^ RenameFolderAsync(
FolderInfo^ existingFolder,
String^ newFolder
)
member RenameFolderAsync :
existingFolder : FolderInfo *
newFolder : string -> Task
Parameters
- existingFolder
- Type: Limilabs.Client.IMAPFolderInfo
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