MultipartRemoveAt Method

Remove an entity from the Multipart 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 entity 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.
ObjectDisposedException The Multipart has been disposed.

See Also