Click or drag to resize
ObservableDictionaryTKey, TValue Methods

The ObservableDictionaryTKey, TValue generic type exposes the following members.

Methods
  NameDescription
Public methodAdd(KeyValuePairTKey, TValue)
Adds a new element to the dictionary.
Public methodAdd(TKey, TValue)
Adds an element with the key and value to the dictionary or updates the value if the key already exists.
Public methodClear
Removes all elements from the dictionary.
Protected methodClearDictionaryItemSettings
Removes all saved items belonging to this dictionary from the stored settings group. This is called from SaveToSettingsGroup(ISettingsGroup, String) to make sure that the settings being updated are all saved cleanly.
Public methodContains
Determines whether the dictionary contains the specified item.
Public methodContainsKey
Determines whether the dictionary contains an element with the specified key.
Public methodCopyTo
Copies the dictionary elements into the provided array, starting from the specified index in the array.
Protected methodGetDictionaryItemFromSettingsT
Gets the setting for the dictionary item from the settings group and populates it.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetObjectData
Populates serialization information with the elements in the dictionary.
Public methodPopulateFromSettingsGroup
Restores the dictionary from the settings group and populates itself using the setting ID as its base.
Public methodRemove(KeyValuePairTKey, TValue)
Removes the specified item from the dictionary.
Public methodRemove(TKey)
Removes the element with the specified key from the dictionary.
Public methodSaveToSettingsGroup
Saves this dictionary to the settings group using the setting ID as a base.
Public methodTryGetValue
Gets the value of the element with the specified key if it exists.
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments