Version

SafeDictionary<TKey,TValue> Class Members

The following tables list the members exposed by SafeDictionary<TKey,TValue>.

Public Constructors
Public Properties
 NameDescription
Public PropertyCountGets the number of key/value pairs in the dictionary  
Public PropertyIsReadOnlyReturns whether the dictionary is read only  
Public PropertyItemGets or sets the value associated with the specified key.  
Public PropertyKeysReturns the collection of keys  
Public PropertyValuesGets the collection containing the values  
Public Methods
 NameDescription
Public MethodAddOverloaded. Adds the specified key and value to the dictionary  
Public MethodCheckAndAddOverloaded. Check if the key exists in the dictionary, if not adds the value  
Public MethodClearRemoves all keys and values from the dictionary  
Public MethodContainsCheck whether the dictionary contains the specific item  
Public MethodContainsKeyCheck if the dictionary contains the specified key  
Public MethodCopyToCopies the dictionary KeyCollection elements to an existing one-dimensional System.Array, starting at the specified array index.  
Public MethodGetEnumeratorReturns an enumerator that iterates through the collection.  
Public MethodRemoveOverloaded. Removes from the dictionary item with the specified key  
Public MethodTryGetValueGets the value with the specified key  
See Also

View on GitHub