InternetAddressListCopyTo Method

Copy all of the addresses in the InternetAddressList to the specified array.

Definition

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

Parameters

array  InternetAddress
The array to copy the addresses to.
arrayIndex  Int32
The index into the array.

Implements

ICollectionTCopyTo(T, Int32)

Remarks

Copies all of the addresses within the InternetAddressList into the array, starting at the specified array index.

Exceptions

ArgumentNullException array is .
ArgumentOutOfRangeException arrayIndex is out of range.

See Also