Condividi tramite


OrderedDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.CopyTo Metodo

Definizione

Copia gli elementi del ICollection<T> in un Array, a partire da un particolare indice Array.

 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

Parametri

array
KeyValuePair<TKey,TValue>[]

Array unidimensionale che rappresenta la destinazione degli elementi copiati da ICollection<T>. L'Array deve avere l'indicizzazione in base zero.

arrayIndex
Int32

Indice in base zero in array in corrispondenza del quale inizia la copia.

Implementazioni

Si applica a