Click or drag to resize
MimeKit

InternetAddressListContains Method

Check if the InternetAddressList contains the specified address.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public bool Contains(
	InternetAddress address
)

Parameters

address  InternetAddress
The address.

Return Value

Boolean

Field Value

Boolean
true if the specified address exists; otherwise

Field Value

Boolean
false.

Implements

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