Removes the specified range of elements from the MimeAttachmentList.
Please refer to RemoveRange for details.
Exception Type | Condition |
---|---|
ArgumentException | index and count do not denote a valid range of elements in the MimeAttachmentList. |
ArgumentOutOfRangeException |
index is less than zero. -or- count is less than zero. |
NotSupportedException |
The MimeAttachmentList is read-only. -or- The MimeAttachmentList has a fixed size. |
MimeAttachmentList Class | SmtPop Namespace