MultipartCopy To Method
Copy all the entities in the Multipart to the specified array.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public void CopyTo(
MimeEntity[] array,
int arrayIndex
)Parameters
- array MimeEntity
- The array to copy the child entities to.
- arrayIndex Int32
- The index into the array.
Implements
ICollectionTCopyTo(T, Int32)Remarks
Copies all the entities within the Multipart into the array,
starting at the specified array index.
Exceptions
| ArgumentNullException | array is . |
| ArgumentOutOfRangeException | arrayIndex is out of range. |
| ObjectDisposedException | The Multipart has been disposed. |