ModelItemDictionary.ICollection<KeyValuePair<ModelItem,ModelItem>>.Add 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將新的項目加入至集合的結尾。
virtual void System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem,System.Activities.Presentation.Model.ModelItem>>.Add(System::Collections::Generic::KeyValuePair<System::Activities::Presentation::Model::ModelItem ^, System::Activities::Presentation::Model::ModelItem ^> item) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::Activities::Presentation::Model::ModelItem ^, System::Activities::Presentation::Model::ModelItem ^>>::Add;
void ICollection<KeyValuePair<ModelItem,ModelItem>>.Add (System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem,System.Activities.Presentation.Model.ModelItem> item);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem,System.Activities.Presentation.Model.ModelItem>>.Add : System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem, System.Activities.Presentation.Model.ModelItem> -> unit
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem,System.Activities.Presentation.Model.ModelItem>>.Add : System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem, System.Activities.Presentation.Model.ModelItem> -> unit
Sub Add (item As KeyValuePair(Of ModelItem, ModelItem)) Implements ICollection(Of KeyValuePair(Of ModelItem, ModelItem)).Add
參數
- item
- KeyValuePair<ModelItem,ModelItem>
要加入的項目。