Share via


HttpRequestOptions.ICollection<KeyValuePair<String,Object>>.CopyTo Método

Definición

Copia los elementos de ICollection<T> en Array, empezando por un índice determinado de Array.

 virtual void System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.CopyTo(cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ array, int arrayIndex) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>::CopyTo;
void ICollection<KeyValuePair<string,object>>.CopyTo (System.Collections.Generic.KeyValuePair<string,object>[] array, int arrayIndex);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.CopyTo : System.Collections.Generic.KeyValuePair<string, obj>[] * int -> unit
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.CopyTo : System.Collections.Generic.KeyValuePair<string, obj>[] * int -> unit
Sub CopyTo (array As KeyValuePair(Of String, Object)(), arrayIndex As Integer) Implements ICollection(Of KeyValuePair(Of String, Object)).CopyTo

Parámetros

array
KeyValuePair<String,Object>[]

Array unidimensional que constituye el destino de los elementos copiados de ICollection<T>. La matriz Array debe tener una indización de base cero.

arrayIndex
Int32

Índice de base cero en la array donde comienza la copia.

Implementaciones

Comentarios

Este miembro es una implementación explícita de un miembro de interfaz. Solo se puede utilizar cuando la instancia de HttpRequestOptions se convierte en una interfaz ICollection<T>.

Se aplica a