ReadOnlyDictionary<K, V>.Remove Method
It will always throw System.NotSupportedException as ReadOnlyDictionary is read-only.
Namespace: Microsoft.Rtc.Collaboration.AudioVideo
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function Remove ( _
key As K _
) As Boolean
'Usage
Dim instance As ReadOnlyDictionary
Dim key As K
Dim returnValue As Boolean
returnValue = instance.Remove(key)
public bool Remove(
K key
)
Parameters
- key
Type: K
The key of the element to remove.
Return Value
Type: System.Boolean
It will always throw an exception as ReadOnlyDictionary is read-only.
Implements
IDictionary<TKey, TValue>.Remove(TKey)
Exceptions
Exception | Condition |
---|---|
NotSupportedException | Thrown when this method is called. |
See Also
Reference
ReadOnlyDictionary<K, V> Class