HeaderListInsert(Int32, Header) Method

Insert the specified header at the given index.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public void Insert(
	int index,
	Header header
)

Parameters

index  Int32
The index to insert the header.
header  Header
The header.

Implements

IListTInsert(Int32, T)

Remarks

Inserts the header at the specified index in the list.

Exceptions

ArgumentNullException header is .
ArgumentOutOfRangeException index is out of range.

See Also