Click or drag to resize
MimeKit

IMailFolderGetSubfolder Method

Get the specified subfolder.

Namespace:  MailKit
Assembly:  MailKit (in MailKit.dll) Version: 3.0.0
Syntax
C#
IMailFolder GetSubfolder(
	string name,
	CancellationToken cancellationToken = default
)

Parameters

name
Type: SystemString
The name of the subfolder.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: IMailFolder
The subfolder.
Remarks
Gets the specified subfolder.
See Also