Click or drag to resize
MimeKit

IMailStoreGetFolder(FolderNamespace) Method

Get the folder for the specified namespace.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
IMailFolder GetFolder(
	FolderNamespace namespace
)

Parameters

namespace  FolderNamespace
The namespace.

Return Value

IMailFolder
The folder.
Exceptions
ExceptionCondition
ArgumentNullExceptionnamespace is null.
FolderNotFoundException The folder could not be found.
Remarks
The main reason to get the toplevel folder in a namespace is to list its child folders.
See Also