ModelItemCollection.ICollection.CopyTo(Array, Int32) Metod

Definition

Kopierar elementen i ICollection till en Array, med början vid ett visst Array 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

Den endimensionella Array som är målet för de element som kopieras från ICollection. Array Måste ha nollbaserad indexering.

index
Int32

Det nollbaserade index array där kopieringen börjar.

Implementeringar

Gäller för