RenameMailbox Method
Change the name of Mailbox to NewName .
Syntax
[VB.NET] Public Sub RenameMailbox(ByVal NewName As String)
[C#] public void RenameMailbox(string newName);
Remarks
This method allows the renaming of a mailbox. The mailbox is specified by the Mailbox property, and the new name is specified by the NewName parameter.
NOTE: This method has a corresponding asynchronous version (RenameMailboxAsync) for use in the Xamarin environment.