Share via


ModelItemDictionary.Add Method (ModelItem, ModelItem)

When overridden in a derived class, adds the item to the dictionary under the specified key.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustOverride Sub Add ( _
    key As ModelItem, _
    value As ModelItem _
)
public abstract void Add(
    ModelItem key,
    ModelItem value
)
public:
virtual void Add(
    ModelItem^ key, 
    ModelItem^ value
) abstract
abstract Add : 
        key:ModelItem * 
        value:ModelItem -> unit 
public abstract function Add(
    key : ModelItem, 
    value : ModelItem
)

Parameters

Implements

IDictionary<TKey, TValue>.Add(TKey, TValue)

.NET Framework Security

See Also

Reference

ModelItemDictionary Class

Add Overload

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture