Simple Mail and Post Office Protocol for .Net (SmtPop)

IMimeAttachmentList.Item Property

Gets or sets the MimeAttachment element at the specified index.

MimeAttachment this[
   int index
] {get; set;}

Parameters

index
The zero-based index of the MimeAttachment element to get or set.

Property Value

The MimeAttachment element at the specified index.

Remarks

Please refer to Item for details.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

NotSupportedException The property is set and the IMimeAttachmentList is read-only.

See Also

IMimeAttachmentList Interface | SmtPop Namespace