RowDefinitionCollection.CopyTo(RowDefinition[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies an array of RowDefinition objects to a given index position within a RowDefinitionCollection.
public:
virtual void CopyTo(cli::array <System::Windows::Controls::RowDefinition ^> ^ array, int index);
public void CopyTo (System.Windows.Controls.RowDefinition[] array, int index);
abstract member CopyTo : System.Windows.Controls.RowDefinition[] * int -> unit
override this.CopyTo : System.Windows.Controls.RowDefinition[] * int -> unit
Public Sub CopyTo (array As RowDefinition(), index As Integer)
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.