OidCollection.ICollection.CopyTo(Array, Int32) Methode
Definition
Kopiert das OidCollection-Objekt in ein Array.Copies the OidCollection object into an array.
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
Parameter
- array
- Array
Das Array, in das das OidCollection-Objekt kopiert werden soll.The array to copy the OidCollection object to.
- index
- Int32
Die Stelle, an der der Kopiervorgang beginnt.The location where the copy operation starts.
Implementiert
Ausnahmen
array
darf kein mehrdimensionales Array sein.array
cannot be a multidimensional array.
- oder --or-
Die Länge von array
ist eine ungültige Offsetlänge.The length of array
is an invalid offset length.
array
ist null
.array
is null
.
Der Wert von index
liegt außerhalb des Bereichs.The value of index
is out range.
Hinweise
Diese Methode kopiert ein OidCollection Objekt an der angegebenen Position in ein Array.This method copies an OidCollection object into an array at the specified location.