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
arrayRowDefinition[]An array of RowDefinition objects.
indexintIdentifies the index position within
arrayto which the RowDefinition objects are copied.
Exceptions
- ArgumentNullException
arrayis null.- ArgumentException
arrayis 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
indexis less than zero.