Copies the entire IMimeAttachmentCollection to a one-dimensional Array of MimeAttachment elements, starting at the specified index of the target array.
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 IMimeAttachmentCollection is greater than the available space from arrayIndex to the end of the destination array. |
IMimeAttachmentCollection Interface | SmtPop Namespace