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
- key
Type: Microsoft.Windows.Design.Model.ModelItem
A ModelItem that is the key for this dictionary entry.
- value
Type: Microsoft.Windows.Design.Model.ModelItem
A ModelItem that is the value for this dictionary entry.
Implements
IDictionary<TKey, TValue>.Add(TKey, TValue)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Model Namespace