Body Part CollectionCopy To Method
Copies all of the body parts in the collection to the specified array.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public void CopyTo(
BodyPart[] array,
int arrayIndex
)Parameters
Implements
ICollectionTCopyTo(T, Int32)Remarks
Copies all of the body parts within the collection into the array,
starting at the specified array index.
Exceptions
| ArgumentNullException | array is . |
| ArgumentOutOfRangeException | arrayIndex is out of range. |