Click or drag to resize
MimeKit

MultipartCopyTo Method

Copy all of the entities in the Multipart to the specified array.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
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)
Exceptions
ExceptionCondition
ArgumentNullExceptionarray is null.
ArgumentOutOfRangeExceptionarrayIndex is out of range.
ObjectDisposedException The Multipart has been disposed.
Remarks
Copies all of the entities within the Multipart into the array, starting at the specified array index.
See Also