Język

HttpRequestOptions.ICollection<KeyValuePair<String,Object>>.CopyTo Metoda

Definicja

Kopiuje elementy ICollection<T> elementu do elementu Array, zaczynając od określonego Array indeksu.

 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

Parametry

array
KeyValuePair<String,Object>[]

Jednowymiarowy Array obiekt docelowy elementów skopiowanych z ICollection<T>elementu . Element Array musi mieć indeksowanie oparte na zerach.

arrayIndex
Int32

Indeks oparty na zera, w array którym rozpoczyna się kopiowanie.

Implementuje

Uwagi

Ten element członkowski jest jawną implementacją składową interfejsu. Można go używać tylko wtedy, gdy HttpRequestOptions wystąpienie jest rzutowanie do interfejsu ICollection<T> .

Dotyczy