MailAddressCollection.Add Method
Namespace: Rebex.Mime.Headers
Assembly: Rebex.Mail.dll (version 7.0.9083)
Add(String)
Adds an address to the end of the list.
Declaration
public int Add(string address)
Parameters
Type | Name | Description |
---|---|---|
String | address | An address to be added. |
Returns
Type | Description |
---|---|
Int32 | The index at which the address has been added. |
Add(MailAddress)
Adds a MailAddress to the end of the list.
Declaration
public int Add(MailAddress address)
Parameters
Type | Name | Description |
---|---|---|
MailAddress | address | A MailAddress to be added. |
Returns
Type | Description |
---|---|
Int32 | The index at which the address has been added. |