ImmutableHashSet<T>.ICollection<T>.CopyTo(T[], Int32) Méthode

Définition

Copie les éléments de l’ensemble dans un tableau, en commençant par un index particulier.

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

Paramètres

array
T[]

Tableau unidimensionnel qui est la destination des éléments copiés à partir du jeu. Le tableau doit avoir une indexation de base zéro.

arrayIndex
Int32

Index de base zéro dans array lequel la copie commence.

Implémente

Remarques

Ce membre est une implémentation explicite de membre d’interface. Elle ne peut être utilisée que lorsque l’instance ImmutableHashSet<T> est convertie en ICollection<T> interface.

S’applique à