Click or drag to resize
MimeKit

DomainListContains Method

Check if the DomainList contains the specified domain.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public bool Contains(
	string domain
)

Parameters

domain  String
The domain.

Return Value

Boolean

Field Value

Boolean
true if the specified domain is contained; otherwise

Field Value

Boolean
false.

Implements

ICollectionTContains(T)
Exceptions
ExceptionCondition
ArgumentNullExceptiondomain is null.
Remarks
Determines whether or not the domain list contains the specified domain.
See Also