RowDefinitionCollection::CopyTo Method (array<RowDefinition^>^, Int32)
.NET Framework (current version)
Copies an array of RowDefinition objects to a given index position within a RowDefinitionCollection.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- array
-
Type:
array<System.Windows.Controls::RowDefinition^>^
An array of RowDefinition objects.
- index
-
Type:
System::Int32
Identifies the index position within array to which the RowDefinition objects are copied.
Implements
ICollection<T>::CopyTo(array<T>^, Int32)| Exception | Condition |
|---|---|
| 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. |
RowDefinitionCollection uses a zero-based indexing system.
.NET Framework
Available since 3.0
Available since 3.0
Show: