Class MailAddressCollection

MailAddressCollection class

Represents a collection of MailAddress objects.

public class MailAddressCollection : Collection<MailAddress>

Constructors

NameDescription
MailAddressCollection()The default constructor.

Methods

NameDescription
Add(MailAddress)Add a MailAddress to the collection.
Add(string)Add a list of e-mail addresses to the collection.
AddRange(IEnumerable<MailAddress>)Adds addresses to collection
AddRange(MailAddressCollection)Adds addresses to collection
Copy()Copies this instance.
override ToString()Returns a String that represents this instance.
implicit operatorPerforms an implicit conversion from MailAddress to MailAddressCollection. (2 operators)

See Also