MessageIdListInsert Method

Insert a Message-Id at the specified index.

Definition

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

Parameters

index  Int32
The index to insert the Message-Id.
messageId  String
The Message-Id to insert.

Implements

IListTInsert(Int32, T)

Remarks

Inserts the Message-Id at the specified index in the list.

Exceptions

ArgumentNullException messageId is .
ArgumentException messageId is not a valid Message-Id.
ArgumentOutOfRangeException index is out of range.

See Also