Share via


ReadOnlyDictionary<K, V>.Add Method

Not supported. An entry cannot be added to a ReadOnlyDictionary instance.

Namespace:  Microsoft.Rtc.Collaboration.AudioVideo
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Sub Add ( _
    key As K, _
    value As V _
)
'Usage
Dim instance As ReadOnlyDictionary
Dim key As K
Dim value As V

instance.Add(key, value)
public void Add(
    K key,
    V value
)

Parameters

  • key
    Type: K
    The key of the element to add.
  • value
    Type: V
    The element with the specified key.

Implements

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

Exceptions

Exception Condition
NotSupportedException

Thrown when this method is called.

See Also

Reference

ReadOnlyDictionary<K, V> Class

ReadOnlyDictionary<K, V> Members

Microsoft.Rtc.Collaboration.AudioVideo Namespace