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.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData
Populates serialization information with the elements in the dictionary.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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