Click or drag to resize
MimeKit

ImapClientCreateImapFolder Method

Instantiate a new ImapFolder.

Namespace:  MailKit.Net.Imap
Assembly:  MailKit (in MailKit.dll) Version: 2.14.0
Syntax
C#
protected virtual ImapFolder CreateImapFolder(
	ImapFolderConstructorArgs args
)

Parameters

args
Type: MailKit.Net.ImapImapFolderConstructorArgs
The constructior arguments.

Return Value

Type: ImapFolder
The IMAP folder instance.
Exceptions
ExceptionCondition
ArgumentNullExceptionargs is null.
Remarks

Creates a new ImapFolder instance.

Note Note
This method's purpose is to allow subclassing ImapFolder.
See Also