MessageIdListCopyTo Method

Copy all of the Message-Ids in the MessageIdList to the specified array.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public void CopyTo(
	string[] array,
	int arrayIndex
)

Parameters

array  String
The array to copy the Message-Ids to.
arrayIndex  Int32
The index into the array.

Implements

ICollectionTCopyTo(T, Int32)

Remarks

Copies all of the Message-Ids within the MessageIdList into the array, starting at the specified array index.

Exceptions

ArgumentNullException array is .
ArgumentOutOfRangeException arrayIndex is out of range.

See Also