InternetAddressListInsert Method

Insert an address at the specified index.

Definition

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

Parameters

index  Int32
The index to insert the address.
address  InternetAddress
The address.

Implements

IListTInsert(Int32, T)

Remarks

Inserts the address at the specified index in the list.

Exceptions

ArgumentNullException address is .
ArgumentOutOfRangeException index is out of range.

See Also