IMailStoreGetFolder(FolderNamespace) Method

Get the folder for the specified namespace.

Definition

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

Parameters

namespace  FolderNamespace
The namespace.

Return Value

IMailFolder
The folder.

Remarks

The main reason to get the toplevel folder in a namespace is to list its child folders.

Exceptions

ArgumentNullException namespace is .
FolderNotFoundException The folder could not be found.

See Also