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.10.0
Syntax
C#
public bool Contains(
	string domain
)

Parameters

domain  String
The domain.

Return Value

Boolean
if the specified domain is contained; otherwise, .

Implements

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