Share via


ReadOnlyDictionary<TKey, TValue>.ICollection<KeyValuePair<TKey, TValue>>.Add method

Namespace:  Microsoft.SharePoint.Taxonomy.Generic
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

Syntax

'Declaration
Private Sub Add ( _
    item As KeyValuePair(Of TKey, TValue) _
) Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Add
'Usage
Dim instance As ReadOnlyDictionary
Dim item As KeyValuePair(Of TKey, TValue)

CType(instance, ICollection(Of KeyValuePair(Of TKey, TValue))).Add(item)
void ICollection<KeyValuePair<TKey, TValue>>.Add(
    KeyValuePair<TKey, TValue> item
)

Parameters

Implements

ICollection<T>.Add(T)

See also

Reference

ReadOnlyDictionary<TKey, TValue> class

ReadOnlyDictionary<TKey, TValue> members

Microsoft.SharePoint.Taxonomy.Generic namespace