ReadOnlyDictionary<TKey, TValue>.IDictionary<TKey, TValue>.Add Method

Adds the specified key-value pair to this dictionary.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Private Sub Add ( _
    key As TKey, _
    value As TValue _
) Implements IDictionary(Of TKey, TValue).Add
void IDictionary<TKey, TValue>.Add(
    TKey key,
    TValue value
)
private:
virtual void Add(
    TKey key, 
    TValue value
) sealed = IDictionary<TKey, TValue>::Add
private abstract Add : 
        key:'TKey * 
        value:'TValue -> unit  
private override Add : 
        key:'TKey * 
        value:'TValue -> unit
JScript does not support explicit interface implementations.

Parameters

  • key
    Type: TKey

    The key.

  • value
    Type: TValue

    The value.

Implements

IDictionary<TKey, TValue>.Add(TKey, TValue)

.NET Framework Security

See Also

Reference

ReadOnlyDictionary<TKey, TValue> Class

Microsoft.TeamFoundation.Client Namespace