Click or drag to resize
MimeKit

IMailFolderGetSubfolderAsync Method

Asynchronously get the specified subfolder.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
Task<IMailFolder> GetSubfolderAsync(
	string name,
	CancellationToken cancellationToken = default
)

Parameters

name  String
The name of the subfolder.
cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

TaskIMailFolder
The subfolder.
Remarks
Asynchronously gets the specified subfolder.
See Also