MimeHeaderCollection.Insert Method
Namespace: Rebex.Mime
Assembly: Rebex.Mail.dll (version 7.0.9119)
Insert(Int32, MimeHeader)
Inserts a MimeHeader into the list at the specified index.
Declaration
public void Insert(int index, MimeHeader header)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | A zero-based index at which the header should be inserted. |
MimeHeader | header | A header to insert. |
Insert(Int32, String, String)
Inserts a headerinto the list at the specified index.
Declaration
public void Insert(int index, string headerName, string headerValue)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | A zero-based index at which the header should be inserted. |
String | headerName | Name of header to insert. |
String | headerValue | Value of header to insert. |