DataGridItemCollection.CopyTo(Array, Int32) Método

Definição

Copia todos os itens dessa coleção DataGridItemCollection para a Array especificada, começando no índice especificado na Array.Copies all the items from this DataGridItemCollection collection to the specified Array, starting at the specified index in the Array.

public:
 virtual void CopyTo(Array ^ array, int index);
public void CopyTo (Array array, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit
Public Sub CopyTo (array As Array, index As Integer)

Parâmetros

array
Array

Um Array de base zero que recebe os itens copiados do DataGridItemCollection.A zero-based Array that receives the copied items from the DataGridItemCollection.

index
Int32

A primeira posição no Array especificada para receber o conteúdo copiado.The first position in the specified Array to receive the copied contents.

Implementações

Comentários

Use este método para copiar o conteúdo da DataGridItemCollection coleção para o especificado System.Array , começando no índice especificado.Use this method to copy the contents of the DataGridItemCollection collection into the specified System.Array, starting at the specified index.

Observação

O array parâmetro deve ser baseado em zero System.Array .The array parameter must be a zero-based System.Array.

Aplica-se a

Confira também