Class LowerCaseDictionary<T>
An IDictionary{string, T} containing lowercase keys only.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Documents.FormatProviders.Html
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class LowerCaseDictionary<T> : IDictionary<string, T>, ICollection<KeyValuePair<string, T>>, IEnumerable<KeyValuePair<string, T>>, IEnumerable
Type Parameters
T
The type of the values inside the dictionary. |
Constructors
LowerCaseDictionary()
Initializes a new instance of the LowerCaseDictionary<T> class.
Declaration
public LowerCaseDictionary()
Properties
Count
Gets the number of elements contained in the System.Collections.Generic.ICollection<T>.
Declaration
public int Count { get; }
Property Value
System.Int32
|
Implements
Item[String]
Gets or sets the T
with the specified key.
Declaration
public T this[string key] { get; set; }
Parameters
System.String
key
The key. |
Property Value
T
The |
Implements
Keys
Gets an System.Collections.Generic.ICollection<T> containing the keys of the System.Collections.Generic.IDictionary<TKey, TValue>.
Declaration
public ICollection<string> Keys { get; }
Property Value
System.Collections.Generic.ICollection<System.String>
|
Implements
Values
Gets an System.Collections.Generic.ICollection<T> containing the values in the System.Collections.Generic.IDictionary<TKey, TValue>.
Declaration
public ICollection<T> Values { get; }
Property Value
System.Collections.Generic.ICollection<T>
|
Implements
Methods
Add(String, T)
Adds an element with the provided key and value to the System.Collections.Generic.IDictionary<TKey, TValue>.
Declaration
public void Add(string key, T value)
Parameters
System.String
key
The object to use as the key of the element to add. |
T
value
The object to use as the value of the element to add. |
Implements
Clear()
Removes all items from the System.Collections.Generic.ICollection<T>.
Declaration
public void Clear()
Implements
ContainsKey(String)
Determines whether the System.Collections.Generic.IDictionary<TKey, TValue> contains an element with the specified key.
Declaration
public bool ContainsKey(string key)
Parameters
System.String
key
The key to locate in the System.Collections.Generic.IDictionary<TKey, TValue>. |
Returns
System.Boolean
true if the System.Collections.Generic.IDictionary<TKey, TValue> contains an element with the key; otherwise, false. |
Implements
CopyTo(KeyValuePair<String, T>[], Int32)
Copies the elements of the System.Collections.Generic.ICollection<T> to an System.Array, starting at a particular System.Array index.
Declaration
public void CopyTo(KeyValuePair<string, T>[] array, int arrayIndex)
Parameters
System.Collections.Generic.KeyValuePair<System.String, T>[]
array
The one-dimensional System.Array that is the destination of the elements copied from System.Collections.Generic.ICollection<T>. The System.Array must have zero-based indexing. |
System.Int32
arrayIndex
The zero-based index in |
Implements
Remove(String)
Removes the element with the specified key from the System.Collections.Generic.IDictionary<TKey, TValue>.
Declaration
public bool Remove(string key)
Parameters
System.String
key
The key of the element to remove. |
Returns
System.Boolean
true if the element is successfully removed; otherwise, false. This method also returns false if |
Implements
TryGetValue(String, out T)
Gets the value associated with the specified key.
Declaration
public bool TryGetValue(string key, out T value)
Parameters
System.String
key
The key whose value to get. |
T
value
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 |
Returns
System.Boolean
true if the object that implements System.Collections.Generic.IDictionary<TKey, TValue> contains an element with the specified key; otherwise, false. |
Implements
Explicit Interface Implementations
ICollection<KeyValuePair<String, T>>.Add(KeyValuePair<String, T>)
Declaration
void ICollection<KeyValuePair<string, T>>.Add(KeyValuePair<string, T> item)
Parameters
System.Collections.Generic.KeyValuePair<System.String, T>
item
|
Implements
ICollection<KeyValuePair<String, T>>.Contains(KeyValuePair<String, T>)
Declaration
bool ICollection<KeyValuePair<string, T>>.Contains(KeyValuePair<string, T> item)
Parameters
System.Collections.Generic.KeyValuePair<System.String, T>
item
|
Returns
System.Boolean
|
Implements
ICollection<KeyValuePair<String, T>>.IsReadOnly
Declaration
bool ICollection<KeyValuePair<string, T>>.IsReadOnly { get; }
Returns
System.Boolean
|
Implements
ICollection<KeyValuePair<String, T>>.Remove(KeyValuePair<String, T>)
Declaration
bool ICollection<KeyValuePair<string, T>>.Remove(KeyValuePair<string, T> item)
Parameters
System.Collections.Generic.KeyValuePair<System.String, T>
item
|
Returns
System.Boolean
|
Implements
IEnumerable<KeyValuePair<String, T>>.GetEnumerator()
Declaration
IEnumerator<KeyValuePair<string, T>> IEnumerable<KeyValuePair<string, T>>.GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<System.String, T>>
|
Implements
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
|