RowDefinitionCollection.CopyTo(RowDefinition[], Int32) Method

Definition

Copies an array of RowDefinition objects to a given index position within a RowDefinitionCollection.

public void CopyTo (System.Windows.Controls.RowDefinition[] array, int index);

Parameters

array
RowDefinition[]

An array of RowDefinition objects.

index
Int32

Identifies the index position within array to which the RowDefinition objects are copied.

Implements

Exceptions

array is null.

array is multidimensional.

-or-

The number of elements in the source ICollection is greater than the available space from index to the end of the destination array.

index is less than zero.

Remarks

RowDefinitionCollection uses a zero-based indexing system.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also