MimeHeaderCollection.Add Method
Namespace: Rebex.Mime
Assembly: Rebex.Mail.dll (version 7.0.9119)
Add(MimeHeader)
Adds a MimeHeader to the end of the list.
Declaration
public int Add(MimeHeader header)
Parameters
Type | Name | Description |
---|---|---|
MimeHeader | header | A header to be added. |
Returns
Type | Description |
---|---|
Int32 | The index at which the value has been added. |
Add(String, String)
Adds a new header to the end of the list.
Declaration
public int Add(string headerName, string headerValue)
Parameters
Type | Name | Description |
---|---|---|
String | headerName | Name of header to be added. |
String | headerValue | Value of header to be added. |
Returns
Type | Description |
---|---|
Int32 | The index at which the value has been added. |