Domain ListContains Method
Check if the DomainList contains the specified domain.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
if the specified domain is contained; otherwise, .
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public bool Contains(
string domain
)Parameters
- domain String
- The domain.
Return Value
Booleanif the specified domain is contained; otherwise, .
Implements
ICollectionTContains(T)Remarks
Determines whether the domain list contains the specified domain.
Exceptions
| ArgumentNullException | domain is . |