GridColumnStylesCollection.ICollection.CopyTo(Array, Int32) Método
Definición
virtual void System.Collections.ICollection.CopyTo(Array ^ array, int index) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo (Array array, int index);
abstract member System.Collections.ICollection.CopyTo : Array * int -> unit
override this.System.Collections.ICollection.CopyTo : Array * int -> unit
Sub CopyTo (array As Array, index As Integer) Implements ICollection.CopyTo
Parámetros
- array
- Array
Array unidimensional que constituye el destino de los elementos copiados de la colección.The one-dimensional Array that is the destination of the elements copied from collection. La matriz debe tener una indización de base cero.The array must have zero-based indexing.
- index
- Int32
Índice de base cero de la matriz donde comienza la copia.The zero-based index in the array at which copying begins.
Implementaciones
Excepciones
array
es null
.array
is null
.
index
es menor que cero.index
is less than zero.
array
es multidimensional.array
is multidimensional.
O bien-or-
El número de elementos de GridColumnStylesCollection es mayor que el espacio disponible entre index
y el final de array
.The number of elements in the GridColumnStylesCollection is greater than the available space from index
to the end of array
.
El tipo del GridColumnStylesCollection no puede convertirse automáticamente al tipo de array
.The type of the GridColumnStylesCollection cannot be cast automatically to the type of array
.