Click or drag to resize
MimeKit

MailStoreGetFolder(FolderNamespace) Method

Get the folder for the specified namespace.

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

Parameters

namespace  FolderNamespace
The namespace.

Return Value

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