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>一维数组,它是从中KeyValuePair<TKey,TValue>复制的ICollection<T>元素的目标。 数组必须具有从零开始的索引。

arrayIndex
Int32

从零开始复制的索引 array

实现

适用于