ClassLowerCaseDictionary<T>
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
LowerCaseDictionary()
Initializes a new instance of the LowerCaseDictionary<T> class.
Declaration
public LowerCaseDictionary()
Properties
Count
Gets the number of elements contained in the ICollection<T>.
Keys
Gets an ICollection<T> containing the keys of the IDictionary<TKey, TValue>.
Declaration
public ICollection<string> Keys { get; }
Property Value
Implements
Values
Gets an ICollection<T> containing the values in the IDictionary<TKey, TValue>.
Declaration
public ICollection<T> Values { get; }
Property Value
ICollection<T>
Implements
this[string]
Gets or sets the T with the specified key.
Declaration
public T this[string key] { get; set; }
Parameters
key
The key.
Property Value
T
The T.
Implements
Methods
Add(string, T)
Adds an element with the provided key and value to the IDictionary<TKey, TValue>.
Declaration
public void Add(string key, T value)
Parameters
key
The object to use as the key of the element to add.
value
T
The object to use as the value of the element to add.
Implements
Clear()
Removes all items from the ICollection<T>.
Declaration
public void Clear()
Implements
ContainsKey(string)
Determines whether the IDictionary<TKey, TValue> contains an element with the specified key.
Declaration
public bool ContainsKey(string key)
Parameters
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
CopyTo(KeyValuePair<string, T>[], int)
Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.
Declaration
public void CopyTo(KeyValuePair<string, T>[] array, int arrayIndex)
Parameters
array
KeyValuePair<string, T>[]
The one-dimensional Array that is the destination of the elements copied from ICollection<T>. The Array must have zero-based indexing.
arrayIndex
The zero-based index in array at which copying begins.
Implements
Remove(string)
Removes the element with the specified key from the IDictionary<TKey, TValue>.
TryGetValue(string, out T)
Gets the value associated with the specified key.
Declaration
public bool TryGetValue(string key, out T value)
Parameters
key
The key whose value to get.
value
T
When 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.
Returns
true if the object that implements IDictionary<TKey, TValue> contains an element with the specified key; otherwise, false.
Implements