Uredi

Deli z drugimi prek


RowDefinitionCollection.CopyTo(RowDefinition[], Int32) Method

Definition

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.

Applies to

See also