Inserts a MimeAttachment element into the MimeAttachmentList at the specified index.
Please refer to Insert for details.
Exception Type | Condition |
---|---|
ArgumentOutOfRangeException |
index is less than zero. -or- index is greater than Count. |
NotSupportedException |
The MimeAttachmentList is read-only. -or- The MimeAttachmentList has a fixed size. -or- The MimeAttachmentList already contains the specified value, and the MimeAttachmentList ensures that all elements are unique. |
MimeAttachmentList Class | SmtPop Namespace