Class RecipientCollection
Represents a colleciton of recipients for a mail message.
public class RecipientCollection : CollectionBase, IList, ICollection, IEnumerable
- Inheritance
-
RecipientCollection
- Implements
- Inherited Members
- Extension Methods
Properties
this[int]
Returns the recipient stored in this collection at the specified index.
public Recipient this[int index] { get; }
Parameters
index
int
Property Value
Methods
Add(Recipient)
Adds the specified recipient to this collection.
public void Add(Recipient value)
Parameters
value
Recipient
Add(string)
Adds a new recipient with the specified address to this collection.
public void Add(string address)
Parameters
address
string
Add(string, RecipientType)
Adds a new recipient with the specified address and recipient type to this collection.
public void Add(string address, MapiMailMessage.RecipientType recipientType)
Parameters
address
stringrecipientType
MapiMailMessage.RecipientType
Add(string, string)
Adds a new recipient with the specified address and display name to this collection.
public void Add(string address, string displayName)
Parameters
Add(string, string, RecipientType)
Adds a new recipient with the specified address, display name and recipient type to this collection.
public void Add(string address, string displayName, MapiMailMessage.RecipientType recipientType)
Parameters
address
stringdisplayName
stringrecipientType
MapiMailMessage.RecipientType