Dela via


DataCollection<TKey,TValue>.CopyTo Method

Definition

public:
 void CopyTo(cli::array <System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ array, int arrayIndex);
public void CopyTo (System.Collections.Generic.KeyValuePair<TKey,TValue>[] array, int arrayIndex);
member this.CopyTo : System.Collections.Generic.KeyValuePair<'Key, 'Value>[] * int -> unit
Public Sub CopyTo (array As KeyValuePair(Of TKey, TValue)(), arrayIndex As Integer)

Parameters

array
KeyValuePair<TKey,TValue>[]
arrayIndex
Int32

Copies the entire DataCollection<TKey,TValue> to a compatible one-dimensional array, starting at the specified index of the target array.

Applies to