An IDictionary{string, T} containing lowercase keys only.
Definition
Namespace:Telerik.Windows.Documents.FormatProviders.Html
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Type Parameters:
T
The type of the values inside the dictionary.
Syntax:
public class LowerCaseDictionary<T> : IDictionary<string, T>, ICollection<KeyValuePair<string, T>>, IEnumerable<KeyValuePair<string, T>>, IEnumerable
Inheritance: objectLowerCaseDictionary<T>
Implements:
Constructors
Initializes a new instance of the LowerCaseDictionary<T> class.
public LowerCaseDictionary()
Properties
Gets the number of elements contained in the ICollection<T>.
public int Count { get; }
Implements:
Gets an ICollection<T> containing the keys of the IDictionary<TKey, TValue>.
public ICollection<string> Keys { get; }
Implements:
Gets or sets the T with the specified key.
public T this[string key] { get; set; }
The key.
Property Value:The T.
Implements:
Gets an ICollection<T> containing the values in the IDictionary<TKey, TValue>.
public ICollection<T> Values { get; }
Implements:
Methods
Adds an element with the provided key and value to the IDictionary<TKey, TValue>.
public void Add(string key, T value)
The object to use as the key of the element to add.
valueTThe object to use as the value of the element to add.
Implements:
Removes all items from the ICollection<T>.
public void Clear()
Implements:
Determines whether the IDictionary<TKey, TValue> contains an element with the specified key.
public bool ContainsKey(string key)
The key to locate in the IDictionary<TKey, TValue>.
Returns:true if the IDictionary<TKey, TValue> contains an element with the key; otherwise, false.
Implements:
Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.
public void CopyTo(KeyValuePair<string, T>[] array, int arrayIndex)
The one-dimensional Array that is the destination of the elements copied from ICollection<T>. The Array must have zero-based indexing.
arrayIndexintThe zero-based index in array at which copying begins.
Implements:
Removes the element with the specified key from the IDictionary<TKey, TValue>.
Gets the value associated with the specified key.
public bool TryGetValue(string key, out T value)
The key whose value to get.
valueTWhen this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.
true if the object that implements IDictionary<TKey, TValue> contains an element with the specified key; otherwise, false.
Implements: