ImapRenameFolderAsync Method |
Namespace: MailBee.ImapMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<bool> RenameFolderAsync(
string oldName,
string newName
)
Public Function RenameFolderAsync (
oldName As String,
newName As String
) As Task(Of Boolean)
Parameters
- oldName
- Type: SystemString
The full name of the folder to be renamed. - newName
- Type: SystemString
The new full name of the folder.
Return Value
Type:
TaskBooleanA task that represents the asynchronous operation. The value of
TResult parameter is
true if the method succeeds; otherwise,
false.
Exceptions See Also