DomainListContains Method

Check if the DomainList contains the specified domain.

Definition

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

Parameters

domain  String
The domain.

Return Value

Boolean
if the specified domain is contained; otherwise, .

Implements

ICollectionTContains(T)

Remarks

Determines whether the domain list contains the specified domain.

Exceptions

ArgumentNullException domain is .

See Also