ReadOnlyDictionary<K,V>.Add(K, V) 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.
Not supported. An entry cannot be added to a ReadOnlyDictionary instance.
public:
virtual void Add(K key, V value);
public void Add (K key, V value);
abstract member Add : 'K * 'V -> unit
override this.Add : 'K * 'V -> unit
Public Sub Add (key As K, value As V)
Parameters
- key
- K
The key of the element to add.
- value
- V
The element with the specified key.
Implements
Exceptions
Thrown when this method is called.