DocumentReferenceCollection.CopyTo(DocumentReference[], Int32) Methode

Definition

Kopiert die gesamte Auflistung in ein Array, das bei einem bestimmten Arrayindex beginnt.

public:
 void CopyTo(cli::array <System::Windows::Documents::DocumentReference ^> ^ array, int arrayIndex);
public void CopyTo(System.Windows.Documents.DocumentReference[] array, int arrayIndex);
member this.CopyTo : System.Windows.Documents.DocumentReference[] * int -> unit
Public Sub CopyTo (array As DocumentReference(), arrayIndex As Integer)

Parameter

array
DocumentReference[]

Das Zielarray, in das die Elemente aus der Auflistung kopiert werden sollen.

arrayIndex
Int32

Der nullbasierte Startindex innerhalb des Arrays, in das die Sammlungselemente kopiert werden sollen.

Hinweise

Einfache Sammlungsunterstützung. Implementiert ICollection<T>.CopyTo.

Gilt für: