RecipientCollection

RecipientCollection class

Represents a colleciton of recipients for a mail message.

public class RecipientCollection : Collection<Recipient>

Constructors

Name Description
RecipientCollection() The default constructor.

Properties

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

Methods

Name Description
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