Bagikan melalui


ExpandoObject.ICollection<KeyValuePair<String,Object>>.CopyTo Metode

Definisi

Menyalin elemen ke ICollection<T> array jenis KeyValuePair<TKey,TValue>, dimulai dari indeks array yang ditentukan.

 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

Parameter

array
KeyValuePair<String,Object>[]

Array satu dimensi jenis KeyValuePair<TKey,TValue> yang merupakan tujuan elemen yang KeyValuePair<TKey,TValue> disalin dari ICollection<T>. Array harus memiliki pengindeksan berbasis nol.

arrayIndex
Int32

Indeks berbasis nol di array mana penyalinan dimulai.

Penerapan

Berlaku untuk