Click or drag to resize
MimeKit

BodyPartCollectionCopyTo Method

Copies all of the body parts in the collection to the specified array.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public void CopyTo(
	BodyPart[] array,
	int arrayIndex
)

Parameters

array  BodyPart
The array.
arrayIndex  Int32
The array index.

Implements

ICollectionTCopyTo(T, Int32)
Exceptions
ExceptionCondition
ArgumentNullExceptionarray is null.
ArgumentOutOfRangeExceptionarrayIndex is out of range.
Remarks
Copies all of the body parts within the collection into the array, starting at the specified array index.
See Also