Property this
this[string]
Gets or sets the element with the specified key.
public ThemeScope this[string key] { get; set; }
Parameters
key
stringThe key of the element to get or set.
Property Value
- ThemeScope
The element with the specified key.
Exceptions
- ArgumentNullException
key
is null.- KeyNotFoundException
The property is retrieved and
key
is not found.- NotSupportedException
The property is set and the IDictionary<TKey, TValue> is read-only.