Click or drag to resize
MimeKit

AttachmentCollectionCopyTo Method

Copy all the attachments in the collection to an array.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntax
C#
public void CopyTo(
	MimeEntity[] array,
	int arrayIndex
)

Parameters

array  MimeEntity
The array to copy the attachments to.
arrayIndex  Int32
The index into the array.

Implements

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