ImmutableList<T>.Builder.ICollection.CopyTo(Array, Int32) Método
Definição
Copia os elementos da lista em uma matriz, a partir do índice de uma matriz específica.Copies the elements of the list to an array, starting at a particular array index.
virtual void System.Collections.ICollection.CopyTo(Array ^ array, int arrayIndex) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo (Array array, int arrayIndex);
abstract member System.Collections.ICollection.CopyTo : Array * int -> unit
override this.System.Collections.ICollection.CopyTo : Array * int -> unit
Sub CopyTo (array As Array, arrayIndex As Integer) Implements ICollection.CopyTo
Parâmetros
- array
- Array
A matriz unidimensional que é o destino dos elementos copiados da lista.The one-dimensional array that is the destination of the elements copied from the list. A matriz deve ter indexação com base em zero.The array must have zero-based indexing.
- arrayIndex
- Int32
O índice com base em zero em array no qual a cópia começa.The zero-based index in array at which copying begins.
Implementações
Exceções
Comentários
Este membro é uma implementação do membro de interface explícita.This member is an explicit interface member implementation. Ele só pode ser usado quando a instância de ImmutableList<T>.Builder é convertida em uma interface de ICollection.It can be used only when the ImmutableList<T>.Builder instance is cast to an ICollection interface.