Editar

Compartilhar via


ColumnDefinitionCollection.CopyTo(ColumnDefinition[], Int32) Method

Definition

Copies an array of ColumnDefinition objects to a given index position within a ColumnDefinitionCollection.

public:
 virtual void CopyTo(cli::array <System::Windows::Controls::ColumnDefinition ^> ^ array, int index);
public void CopyTo (System.Windows.Controls.ColumnDefinition[] array, int index);
abstract member CopyTo : System.Windows.Controls.ColumnDefinition[] * int -> unit
override this.CopyTo : System.Windows.Controls.ColumnDefinition[] * int -> unit
Public Sub CopyTo (array As ColumnDefinition(), index As Integer)

Parameters

array
ColumnDefinition[]

An array of ColumnDefinition objects.

index
Int32

Identifies the index position within array to which the ColumnDefinition 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

ColumnDefinitionCollection uses a zero-based indexing system.

Applies to

See also