Class RecipientCollection

RecipientCollection class

Represents a colleciton of recipients for a mail message.

public class RecipientCollection : Collection<Recipient>

Constructors

NameDescription
RecipientCollection()The default constructor.

Properties

NameDescription
Item { get; }Returns the recipient stored in this collection at the specified index.

Methods

NameDescription
Add(string)Adds a new recipient with the specified address to this collection.
Add(string, RecipientType)Adds a new recipient with the specified address and recipient type to this collection.
Add(string, string)Adds a new recipient with the specified address and display name to this collection.
Add(string, string, RecipientType)Adds a new recipient with the specified address, display name and recipient type to this collection.

See Also