Click or drag to resize
MimeKit

IMailFolderRename Method

Rename the folder.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
void Rename(
	IMailFolder parent,
	string name,
	CancellationToken cancellationToken = default
)

Parameters

parent  IMailFolder
The new parent folder.
name  String
The new name of the folder.
cancellationToken  CancellationToken  (Optional)
The cancellation token.
Remarks
Renames the folder.
See Also