SynchronizedReadOnlyCollection<T>.ICollection.CopyTo Metod

Definition

Kopierar elementen i samlingen till en angiven matris med början vid ett visst index.

 virtual void System.Collections.ICollection.CopyTo(Array ^ array, int index) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo(Array array, int index);
abstract member System.Collections.ICollection.CopyTo : Array * int -> unit
override this.System.Collections.ICollection.CopyTo : Array * int -> unit
Sub CopyTo (array As Array, index As Integer) Implements ICollection.CopyTo

Parametrar

array
Array

Det Array är målet för de element som kopieras från samlingen.

index
Int32

Det nollbaserade indexet i matrisen där kopieringen börjar.

Implementeringar

Gäller för