Internet Address ListContains Method
Check if the InternetAddressList contains the specified address.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
if the specified address exists; otherwise, .
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public bool Contains(
InternetAddress address
)Parameters
- address InternetAddress
- The address.
Return Value
Booleanif the specified address exists; otherwise, .
Implements
ICollectionTContains(T)Remarks
Determines whether the address list contains the specified address.
Exceptions
| ArgumentNullException | address is . |