TableRowCollection.CopyTo TableRowCollection.CopyTo TableRowCollection.CopyTo TableRowCollection.CopyTo Method

Definition

Copies the contents of the collection and inserts them into a specified array starting at a specified index position in the array.

Overloads

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

Copies the contents of the collection and inserts them into a specified array starting at a specified index position in the array.

CopyTo(TableRow[], Int32) CopyTo(TableRow[], Int32) CopyTo(TableRow[], Int32) CopyTo(TableRow[], Int32)

Copies the contents of the collection and inserts them into a specified TableRow array of starting at a specified index position in the array.

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

Copies the contents of the collection and inserts them into a specified array starting at a specified index position in the array.

public:
 virtual void CopyTo(Array ^ array, int index);
public void CopyTo (Array array, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit

Parameters

array
Array Array Array Array

A one-dimensional array to which the collection contents will be copied. This array must use zero-based indexing.

index
Int32 Int32 Int32 Int32

A zero-based index in array specifying the position at which to begin inserting the copied collection objects.

Implements

Exceptions

Raised when array includes items that are not compatible with the type TableRow, or if arrayIndex specifies a position that falls outside of the bounds of array.

CopyTo(TableRow[], Int32) CopyTo(TableRow[], Int32) CopyTo(TableRow[], Int32) CopyTo(TableRow[], Int32)

Copies the contents of the collection and inserts them into a specified TableRow array of starting at a specified index position in the array.

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

Parameters

array
TableRow[]

A one-dimensional TableRow array to which the collection contents will be copied. This array must use zero-based indexing.

index
Int32 Int32 Int32 Int32

A zero-based index in array specifying the position at which to begin inserting the copied collection objects.

Exceptions

Raised when array includes items that are not compatible with the type TableRow, or if arrayIndex specifies a position that falls outside of the bounds of array.

Applies to