Adds a new header to the end of the list.

Namespace:  Rebex.Mime
Assembly:  Rebex.Mail (in Rebex.Mail.dll)

Syntax

Visual Basic
Public Function Add ( _
	headerName As String, _
	headerValue As String _
) As Integer
C#
public int Add(
	string headerName,
	string headerValue
)

Parameters

headerName
Type: System..::..String
Name of header to be added.
headerValue
Type: System..::..String
Value of header to be added.

Return Value

The index at which the value has been added.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also