Copies the range of elements from the ImapMessageCollection to a one-dimensional ImapMessageInfo array, starting at the specified index of the target array.

Namespace:  Rebex.Net
Assembly:  Rebex.Imap (in Rebex.Imap.dll)

Syntax

Visual Basic
Public Sub CopyTo ( _
	array As ImapMessageInfo(), _
	arrayIndex As Integer _
)
C#
public void CopyTo(
	ImapMessageInfo[] array,
	int arrayIndex
)

Parameters

array
Type: array<Rebex.Net..::..ImapMessageInfo>[]()[][]
One-dimensional zero-based ImapMessageInfo array that is the destination of the elements copied from the collection.
arrayIndex
Type: System..::..Int32
A zero-based index in the destination array at which copying begins.

Implements

ICollection<(Of <(<'T>)>)>..::..CopyTo(array<T>[]()[][], Int32)

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also