Copies the entire MimeAttachmentList to a one-dimensional Array of MimeAttachment elements, starting at the specified index of the target array.
IMimeAttachmentCollection.CopyTo
Please refer to CopyTo for details.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | array is a null reference. |
| ArgumentOutOfRangeException | arrayIndex is less than zero. |
| ArgumentException |
arrayIndex is equal to or greater than the length of array. -or- The number of elements in the source MimeAttachmentList is greater than the available space from arrayIndex to the end of the destination array. |
MimeAttachmentList Class | SmtPop Namespace | MimeAttachmentList.CopyTo Overload List