แก้ไข

แชร์ผ่าน


ImmutableDictionary<TKey,TValue>.Builder.ICollection<KeyValuePair<TKey,TValue>>.CopyTo Method

Definition

Copies the elements of the dictionary to an array of type KeyValuePair<TKey,TValue>, starting at the specified array index.

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

Parameters

array
KeyValuePair<TKey,TValue>[]

The one-dimensional array that is the destination of the elements copied from the dictionary. The array must have zero-based indexing.

arrayIndex
Int32

The zero-based index in array at which copying begins.

Implements

Applies to