Method Add | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Add(string, ThemeScope)
public void Add(string key, ThemeScope value)
Parameters
key
string
The object to use as the key of the element to add.
value
ThemeScope
The object to use as the value of the element to add.
Exceptions
key
is null.
An element with the same key already exists in the IDictionary<TKey, TValue>.
The IDictionary<TKey, TValue> is read-only.
Add(KeyValuePair<string, ThemeScope>)
public void Add(KeyValuePair<string, ThemeScope> item)
Parameters
item
KeyValuePair<string, ThemeScope>
The object to add to the ICollection.
Exceptions
The ICollection is read-only.