ModelItemDictionary.CopyTo 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将键/值对的数组复制到给定字典中。
protected:
virtual void CopyTo(cli::array <System::Collections::Generic::KeyValuePair<System::Activities::Presentation::Model::ModelItem ^, System::Activities::Presentation::Model::ModelItem ^>> ^ array, int arrayIndex);
protected virtual void CopyTo (System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem,System.Activities.Presentation.Model.ModelItem>[] array, int arrayIndex);
abstract member CopyTo : System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem, System.Activities.Presentation.Model.ModelItem>[] * int -> unit
override this.CopyTo : System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem, System.Activities.Presentation.Model.ModelItem>[] * int -> unit
Protected Overridable Sub CopyTo (array As KeyValuePair(Of ModelItem, ModelItem)(), arrayIndex As Integer)
参数
- array
- KeyValuePair<ModelItem,ModelItem>[]
要复制的键/值对的数组。
- arrayIndex
- Int32
复制开始时所在的当前字典中从零开始的索引。