ReadOnlyDictionary<TKey, TValue>.ICollection<KeyValuePair<TKey, TValue>>.Add Method
Adds the specified item to this dictionary.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Déclaration
Private Sub Add ( _
item As KeyValuePair(Of TKey, TValue) _
) Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Add
void ICollection<KeyValuePair<TKey, TValue>>.Add(
KeyValuePair<TKey, TValue> item
)
private:
virtual void Add(
KeyValuePair<TKey, TValue> item
) sealed = ICollection<KeyValuePair<TKey, TValue>>::Add
private abstract Add :
item:KeyValuePair<'TKey, 'TValue> -> unit
private override Add :
item:KeyValuePair<'TKey, 'TValue> -> unit
JScript does not support explicit interface implementations.
Parameters
- item
Type: System.Collections.Generic.KeyValuePair<TKey, TValue>
The item to add to this dictionary.
Implements
.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.