共用方式為


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

如需這個成員的說明,請參閱 ICollection<T>.Add

命名空間:  Microsoft.Windows.Design.Model
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Private Sub Add ( _
    item As KeyValuePair(Of ModelItem, ModelItem) _
) Implements ICollection(Of KeyValuePair(Of ModelItem, ModelItem)).Add
void ICollection<KeyValuePair<ModelItem, ModelItem>>.Add(
    KeyValuePair<ModelItem, ModelItem> item
)
private:
virtual void Add(
    KeyValuePair<ModelItem^, ModelItem^> item
) sealed = ICollection<KeyValuePair<ModelItem^, ModelItem^>>::Add
private abstract Add : 
        item:KeyValuePair<ModelItem, ModelItem> -> unit 
private override Add : 
        item:KeyValuePair<ModelItem, ModelItem> -> unit 
JScript 不支援明確介面實作。

參數

實作

ICollection<T>.Add(T)

備註

這個成員是明確介面成員實作, 只有在 ModelItemDictionary 執行個體轉換成 ICollection<T> 介面時,才能使用這個成員。

.NET Framework 安全性

請參閱

參考

ModelItemDictionary 類別

Microsoft.Windows.Design.Model 命名空間

其他資源

WPF 設計工具擴充性架構