Method CopyTo
CopyTo(RowDefinition[], int)
Copies an array of RowDefinition objects to a given index position within a GridRowCollection.
public void CopyTo(RowDefinition[] array, int index)
Parameters
array
RowDefinition[]An array of RowDefinition objects.
index
intIdentifies the index position within
array
to which the RowDefinition objects are copied.
Exceptions
- ArgumentNullException
array
is null.- ArgumentException
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.- ArgumentOutOfRangeException
index
is less than zero.