CmsRecipientCollectionCopyTo Method

Copy all of the recipients in the CmsRecipientCollection to the specified array.

Definition

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

Parameters

array  CmsRecipient
The array.
arrayIndex  Int32
The array index.

Implements

ICollectionTCopyTo(T, Int32)

Remarks

Copies all of the recipients within the CmsRecipientCollection into the array, starting at the specified array index.

Exceptions

ArgumentNullException array is .
ArgumentOutOfRangeException arrayIndex is out of range.

See Also