Click or drag to resize

PersistentDictionaryTKey, TValueAdd Method

Overload List
  NameDescription
Public methodAdd(TKey, TValue)
Adds a specified key/value pair to the dictionary. If a value with the specified key already exists, it is replaced. This method does not modify the dictionary on which it is called but instead returns a new dictionary containing the added element.
Public methodAdd(TKey, TValue, PersistentDictionaryAddResult)
Adds a specified key/value pair to the dictionary, and returns a value indicating whether the key was newly added to the dictionary or it already existed and the value was replaced. This method does not modify the dictionary on which it is called but instead returns a new dictionary containing the added element.
Top
See Also