Click or drag to resize
MimeKit

MailStoreGetFolder Method (FolderNamespace)

Get the folder for the specified namespace.

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

Parameters

namespace
Type: MailKitFolderNamespace
The namespace.

Return Value

Type: IMailFolder
The folder.

Implements

IMailStoreGetFolder(FolderNamespace)
Exceptions
ExceptionCondition
ArgumentNullExceptionnamespace is null.
ObjectDisposedException The MailStore has been disposed.
ServiceNotConnectedException The MailStore is not connected.
ServiceNotAuthenticatedException The MailStore is not authenticated.
FolderNotFoundException The folder could not be found.
Remarks
Gets the folder for the specified namespace.
See Also