TextElementCollection<TextElementType>.ICollection.CopyTo Metod

Definition

Kopierar elementen i ICollection till en Array, med början vid ett visst Array index. Använd metoden type-safe CopyTo(TextElementType[], Int32) i stället.

 virtual void System.Collections.ICollection.CopyTo(Array ^ array, int arrayIndex) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo(Array array, int arrayIndex);
abstract member System.Collections.ICollection.CopyTo : Array * int -> unit
override this.System.Collections.ICollection.CopyTo : Array * int -> unit
Sub CopyTo (array As Array, arrayIndex 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.

arrayIndex
Int32

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

Implementeringar

Gäller för