Click or drag to resize
MimeKit

MultipartInsert Method

Insert an entity into the Multipart at the specified index.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public void Insert(
	int index,
	MimeEntity entity
)

Parameters

index  Int32
The index.
entity  MimeEntity
The MIME entity.

Implements

IListTInsert(Int32, T)
Exceptions
ExceptionCondition
ArgumentNullExceptionentity is null.
ArgumentOutOfRangeExceptionindex is out of range.
ObjectDisposedException The Multipart has been disposed.
Remarks
Inserts the part into the multipart at the specified index.
See Also