Click or drag to resize
MimeKit

HeaderSetCopyTo Method

Copy all of the headers in the HeaderSet to the specified array.

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

Parameters

array  String
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 headers within the HeaderSet into the array, starting at the specified array index.
See Also