The ObservableDictionary<(Of <(<'TKey, TValue>)>)> type exposes the following members.

Constructors

  NameDescription
Public methodObservableDictionary<(Of <(<'TKey, TValue>)>)>()()()()
Initializes a new instance of the ObservableDictionary<(Of <(<'TKey, TValue>)>)> class
Public methodObservableDictionary<(Of <(<'TKey, TValue>)>)>(IDictionary<(Of <<'(TKey, TValue>)>>))
Initializes a new instance of the Dictionary<(Of <(<'TKey, TValue>)>)> class that contains elements copied from the specified IDictionary<(Of <(<'TKey, TValue>)>)> and uses the default equality comparer for the key type.
Public methodObservableDictionary<(Of <(<'TKey, TValue>)>)>(IEqualityComparer<(Of <<'(TKey>)>>))
Initializes a new instance of the Dictionary<(Of <(<'TKey, TValue>)>)> class that is empty, has the default initial capacity, and uses the specified IEqualityComparer<(Of <(<'T>)>)>.
Public methodObservableDictionary<(Of <(<'TKey, TValue>)>)>(Int32)
Initializes a new instance of the Dictionary<(Of <(<'TKey, TValue>)>)> class that is empty, has the specified initial capacity, and uses the default equality comparer for the key type.
Public methodObservableDictionary<(Of <(<'TKey, TValue>)>)>(IDictionary<(Of <<'(TKey, TValue>)>>), IEqualityComparer<(Of <<'(TKey>)>>))
Initializes a new instance of the Dictionary<(Of <(<'TKey, TValue>)>)> class that contains elements copied from the specified IDictionary<(Of <(<'TKey, TValue>)>)> and uses the specified IEqualityComparer<(Of <(<'T>)>)>.
Public methodObservableDictionary<(Of <(<'TKey, TValue>)>)>(Int32, IEqualityComparer<(Of <<'(TKey>)>>))
Initializes a new instance of the Dictionary<(Of <(<'TKey, TValue>)>)> class that is empty, has the specified initial capacity, and uses the specified IEqualityComparer<(Of <(<'T>)>)>.
Protected methodObservableDictionary<(Of <(<'TKey, TValue>)>)>(SerializationInfo, StreamingContext)
Initializes a new instance of the Dictionary<(Of <(<'TKey, TValue>)>)> class with serialized data.

Methods

  NameDescription
Public methodAdd
Adds the specified key and value to the dictionary.
Protected methodBlockReentrancy
Disallows reentrant attempts to change this collection.
Protected methodCheckReentrancy
Checks for reentrant attempts to change this collection.
Public methodClear
Removes all keys and values from the Dictionary<(Of <(<'TKey, TValue>)>)>.
Public methodContainsKey
Determines whether the Dictionary<(Of <(<'TKey, TValue>)>)> contains the specified key.
Public methodContainsValue
Determines whether the Dictionary<(Of <(<'TKey, TValue>)>)> contains a specific value.
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.)
Public methodGetEnumerator
Returns an enumerator that iterates through the Dictionary<(Of <(<'TKey, TValue>)>)>.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
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.)
Protected methodOnCollectionChanged
Raises the CollectionChanged event with the provided arguments.
Public methodOnDeserialization
Runs when the entire object graph has been deserialized.
Protected methodOnPropertyChanged
Raises the PropertyChanged event with the provided arguments.
Public methodRemove
Removes the value with the specified key from the Dictionary<(Of <(<'TKey, TValue>)>)>.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Gets the value associated with the specified key.

Properties

  NameDescription
Public propertyComparer
Gets the IEqualityComparer<(Of <(<'T>)>)> that is used to determine equality of keys for the dictionary.
Public propertyCount
Gets the number of key/value pairs contained in the Dictionary<(Of <(<'TKey, TValue>)>)>.
Public propertyItem
Gets or sets the value associated with the specified key.
Public propertyKeys
Gets a collection containing the keys in the Dictionary<(Of <(<'TKey, TValue>)>)>.
Public propertyValues
Gets a collection containing the values in the Dictionary<(Of <(<'TKey, TValue>)>)>.

Events

  NameDescription
Public eventCollectionChanged
Occurs when the collection changes.
Public eventPropertyChanged
Occurs when a property value changes.

See Also