語言

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

定義

從特定ICollection<T>索引開始,將 的Array元素複製到 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

參數

array
KeyValuePair<String,Object>[]

一維 Array ,即從 中複製 ICollection<T>元素的目的地。 必須 Array 有零基索引。

arrayIndex
Int32

複製開始的零基索引 array 。

實作

備註

此成員為明確介面成員實作。 它只能在實 HttpRequestOptions 例投射到 ICollection<T> 介面時使用。

適用於