Click or drag to resize
MimeKit

AttachmentCollectionItem Property

Get or set the MimeEntity at the specified index.

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

Parameters

index  Int32
The index.

Property Value

MimeEntity
The attachment at the specified index.

Implements

IListTItemInt32
Exceptions
ExceptionCondition
ArgumentNullExceptionvalue is null.
ArgumentOutOfRangeExceptionindex is out of range.
Remarks

Gets or sets the MimeEntity at the specified index.

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