共用方式為


ModelItemDictionary.ICollection<KeyValuePair<ModelItem,ModelItem>>.CopyTo 方法

定義

將索引鍵/值組的陣列複製到指定字典中。

 virtual void System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem,System.Activities.Presentation.Model.ModelItem>>.CopyTo(cli::array <System::Collections::Generic::KeyValuePair<System::Activities::Presentation::Model::ModelItem ^, System::Activities::Presentation::Model::ModelItem ^>> ^ array, int arrayIndex) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::Activities::Presentation::Model::ModelItem ^, System::Activities::Presentation::Model::ModelItem ^>>::CopyTo;
void ICollection<KeyValuePair<ModelItem,ModelItem>>.CopyTo (System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem,System.Activities.Presentation.Model.ModelItem>[] array, int arrayIndex);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem,System.Activities.Presentation.Model.ModelItem>>.CopyTo : System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem, System.Activities.Presentation.Model.ModelItem>[] * int -> unit
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem,System.Activities.Presentation.Model.ModelItem>>.CopyTo : System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem, System.Activities.Presentation.Model.ModelItem>[] * int -> unit
Sub CopyTo (array As KeyValuePair(Of ModelItem, ModelItem)(), arrayIndex As Integer) Implements ICollection(Of KeyValuePair(Of ModelItem, ModelItem)).CopyTo

參數

array
KeyValuePair<ModelItem,ModelItem>[]

要複製的索引鍵/值組陣列。

arrayIndex
Int32

目前字典中以零起始的索引,也就是複製開始的位置。

實作

適用於