Click or drag to resize
MimeKit

FolderNamespaceCollectionContains Method

Checks if the collection contains the specified namespace.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public bool Contains(
	FolderNamespace namespace
)

Parameters

namespace  FolderNamespace
The namespace.

Return Value

Boolean

Field Value

Boolean
true if the specified namespace exists; otherwise

Field Value

Boolean
false.
Exceptions
ExceptionCondition
ArgumentNullExceptionnamespace is null.
Remarks
Checks if the collection contains the specified namespace.
See Also