ReadOnlyDictionary<K,V>.Remove(K) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
It will always throw System.NotSupportedException as ReadOnlyDictionary is read-only.
public:
virtual bool Remove(K key);
public bool Remove (K key);
abstract member Remove : 'K -> bool
override this.Remove : 'K -> bool
Public Function Remove (key As K) As Boolean
Parameters
- key
- K
The key of the element to remove.
Returns
It will always throw an exception as ReadOnlyDictionary is read-only.
Implements
Exceptions
Thrown when this method is called.