| IMailFolderCreate(String, IEnumerableSpecialFolder, CancellationToken) Method |
Create a new subfolder with the given name.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax IMailFolder Create(
string name,
IEnumerable<SpecialFolder> specialUses,
CancellationToken cancellationToken = default
)
Parameters
- name String
- The name of the folder to create.
- specialUses IEnumerableSpecialFolder
- A list of special uses for the folder being created.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
IMailFolderThe created folder.
Remarks
Creates a new subfolder with the given name.
See Also