ModelItemDictionary.ICollection<KeyValuePair<ModelItem, ModelItem>>.Add Method
For a description of this member, see ICollection<T>.Add.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
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 does not support explicit interface implementations.
Parameters
- item
Type: System.Collections.Generic.KeyValuePair<ModelItem, ModelItem>
The key/value pair to add to the collection.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the ModelItemDictionary instance is cast to an ICollection<T> 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