Click or drag to resize
MimeKit

AttachmentCollectionInsert Method

Insert an attachment at the given index.

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

Parameters

index  Int32
The index to insert the attachment.
attachment  MimeEntity
The attachment.

Implements

IListTInsert(Int32, T)
Exceptions
ExceptionCondition
ArgumentNullExceptionattachment is .
ArgumentOutOfRangeExceptionindex is out of range.
Remarks
Inserts the attachment at the specified index.
See Also