Edit

Share via


ReadOnlyDictionary<K,V>.Add(K, V) Method

Definition

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.

Applies to