MultipartItem Property

Get or set the MimeEntity at the specified index.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public MimeEntity this[
	int index
] { get; set; }

Parameters

index  Int32
The index.

Property Value

MimeEntity
The entity at the specified index.

Implements

IListTItemInt32

Remarks

Gets or sets the MimeEntity at the specified index.

  Note

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

Exceptions

ArgumentNullException value is .
ArgumentOutOfRangeException index is out of range.
ObjectDisposedException The Multipart has been disposed.

See Also