ConcurrentDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.CopyTo(KeyValuePair<TKey,TValue>[], Int32) ConcurrentDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.CopyTo(KeyValuePair<TKey,TValue>[], Int32) ConcurrentDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.CopyTo(KeyValuePair<TKey,TValue>[], Int32) Method

Définition

Copie les éléments de ICollection dans un tableau, en commençant au niveau d'un index de tableau spécifié.Copies the elements of the ICollection to an array, 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 index) = 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 index);
Sub CopyTo (array As KeyValuePair(Of TKey, TValue)(), index As Integer) Implements ICollection(Of KeyValuePair(Of TKey, TValue)).CopyTo

Paramètres

array
KeyValuePair<TKey,TValue>[]

Tableau unidimensionnel qui constitue la destination des éléments copiés à partir du ICollection.The one-dimensional array that is the destination of the elements copied from the ICollection. Ce tableau doit avoir une indexation de base zéro.The array must have zero-based indexing.

index
Int32 Int32 Int32

Index de base zéro dans l'array à partir duquel la copie commence.The zero-based index in array at which copying begins.

S’applique à

Voir aussi