Copies the elements of the collection to an array.

Namespace: Mindscape.SilverlightElements
Assembly: Mindscape.SilverlightElements (in Mindscape.SilverlightElements.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public void CopyTo(
	KeyValuePair<TKey, TValue>[] array,
	int arrayIndex
)
Visual Basic
Public Sub CopyTo ( _
	array As KeyValuePair(Of TKey, TValue)(), _
	arrayIndex As Integer _
)
Visual C++
public:
virtual void CopyTo(
	array<KeyValuePair<TKey, TValue>>^ array, 
	int arrayIndex
) sealed

Parameters

array
Type: array<System.Collections.Generic..::..KeyValuePair<(Of <(<'TKey, TValue>)>)>>[]()[][]
The array to which to copy the elements of the collection.
arrayIndex
Type: System..::..Int32
The zero-based index in array where copying starts.

Implements

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

See Also