ModelItemDictionary.IDictionary.Add Method
For a description of this member, see IDictionary.Add.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Private Sub Add ( _
key As Object, _
value As Object _
) Implements IDictionary.Add
void IDictionary.Add(
Object key,
Object value
)
private:
virtual void Add(
Object^ key,
Object^ value
) sealed = IDictionary::Add
private abstract Add :
key:Object *
value:Object -> unit
private override Add :
key:Object *
value:Object -> unit
JScript does not support explicit interface implementations.
Parameters
- key
Type: System.Object
The Object to use as the key of the element to add.
- value
Type: System.Object
The Object to use as the value of the element to add.
Implements
IDictionary.Add(Object, Object)
Remarks
This member is an explicit interface member implementation. It can be used only when the ModelItemDictionary instance is cast to an IDictionary interface.
.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