AttachmentCollectionRemoveAt Method

Remove the attachment at the specified index.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public void RemoveAt(
	int index
)

Parameters

index  Int32
The index.

Implements

IListTRemoveAt(Int32)

Remarks

Removes the attachment at the specified index.

  Note

It is the responsibility of the caller to dispose the entity at the specified index.

Exceptions

ArgumentOutOfRangeException index is out of range.

See Also