ExpandoObject.ICollection<KeyValuePair<String,Object>>.CopyTo 方法

定义

从特定的数组索引处开始,将 ICollection<T> 的元素复制到类型 KeyValuePair<TKey,TValue> 的一个数组。

 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

参数

array
KeyValuePair<String,Object>[]

类型 KeyValuePair<TKey,TValue> 的一维数组,它是从 ICollection<T> 复制的 KeyValuePair<TKey,TValue> 元素的目标。 该数组的索引必须从零开始。

arrayIndex
Int32

array 中从零开始的索引,将从此索引处开始进行复制。

实现

适用于