共用方式為


ViewDataDictionary.CopyTo(KeyValuePair<String,Object>[], Int32) 方法

定義

從特定的 ICollection<T> 索引開始,將 Array 的項目複製到 Array

public:
 virtual void CopyTo(cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ array, int arrayIndex);
public void CopyTo (System.Collections.Generic.KeyValuePair<string,object>[] array, int arrayIndex);
abstract member CopyTo : System.Collections.Generic.KeyValuePair<string, obj>[] * int -> unit
override this.CopyTo : System.Collections.Generic.KeyValuePair<string, obj>[] * int -> unit
Public Sub CopyTo (array As KeyValuePair(Of String, Object)(), arrayIndex As Integer)

參數

arrayIndex
Int32

實作

適用於