Share via


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

'Declaration
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

Implements

ICollection<T>.Add(T)

.NET Framework Security

See Also

Reference

ReadOnlyDictionary<TKey, TValue> Class

Microsoft.TeamFoundation.Client Namespace