Partager via


ImmutableDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.CopyTo Méthode

Définition

Copie les éléments de ICollection<T> dans Array, à partir d'un index particulier de 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

Paramètres

array
KeyValuePair<TKey,TValue>[]

Array unidimensionnel qui constitue la destination des éléments copiés à partir de ICollection<T>. Array doit avoir une indexation de base zéro.

arrayIndex
Int32

Index de base zéro dans l'array à partir duquel la copie commence.

Implémente

S’applique à