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
- item
Type: System.Collections.Generic.KeyValuePair<TKey, TValue>
Implements
See also
Reference
ReadOnlyDictionary<TKey, TValue> class