Method Remove | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Remove(string)
public bool Remove(string key)
Parameters
key
string
The key of the element to remove.
Returns
true if the element is successfully removed; otherwise, false. This method also returns false if key
was not found in the original IDictionary<TKey, TValue>.
Exceptions
key
is null.
The IDictionary<TKey, TValue> is read-only.
Remove(KeyValuePair<string, ThemeScope>)
Removes the first occurrence of a specific object from the ICollection.
public bool Remove(KeyValuePair<string, ThemeScope> item)
Parameters
item
KeyValuePair<string, ThemeScope>
The object to remove from the ICollection.
Returns
true if item
was successfully removed from the ICollection; otherwise, false. This method also returns false if item
is not found in the original ICollection.
Exceptions
The ICollection is read-only.