Add Method
It will always throw System.
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
- value
Type: V
Implements
IDictionary<(Of <(<'TKey, TValue>)>)>..::..Add(TKey, TValue)
Remarks
NotSupportedException as ReadOnlyDictionary is read-only.
Exceptions
[T:System.NotSupportedException]: As ReadOnlyDictionary is read-only.
See Also
Reference
ReadOnlyDictionary<(Of <(<'K, V>)>)> Class