InternetAddressList   Conversion (MailAddressCollection to InternetAddressList)

Explicit cast to convert a MailAddressCollection to a InternetAddressList.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static explicit operator InternetAddressList? (
	MailAddressCollection? addresses
)

Parameters

addresses  MailAddressCollection
The mail address.

Return Value

InternetAddressList
The equivalent InternetAddressList.

Remarks

Casts a MailAddressCollection to a InternetAddressList in cases where you might want to make use of the superior MimeKit APIs.

See Also