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

Définition

Copie les éléments du ICollection<T> dans un Array, en commençant à un index Array 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[]

Unidimensionnel Array qui est la destination des éléments copiés à partir de ICollection<T>. L’indexation Array doit être basée sur zéro.

arrayIndex
Int32

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

Implémente

S’applique à