Click or drag to resize
MimeKit

HeaderListCollectionCopyTo Method

Copies all of the header groups in the HeaderListCollection to the specified array.

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

Parameters

array  HeaderList
The array to copy the headers to.
arrayIndex  Int32
The index into the array.

Implements

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