The ObservableDictionary<(Of <(TKey, TValue>)>) type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ObservableDictionary<(Of <(TKey, TValue>)>) |
Methods
Name | Description | |
---|---|---|
Add |
Adds an element with the provided key and value.
| |
Clear |
Removes all keys and values from the dictionary.
| |
Contains |
Determines whether the collection contains a specific key and value.
| |
ContainsKey |
Determines whether the collection contains an element with the specified key.
| |
CopyTo |
Copies the elements of the collection to an array.
| |
GetEnumerator |
Returns an enumerator that iterates through the dictionary.
| |
OnCollectionChanged |
Raises the CollectionChanged event.
| |
OnPropertyChanged |
Raises the PropertyChanged event.
| |
Remove |
Removes the element with the specified key.
| |
TryGetValue |
Gets the value associated with the specified key.
|
Properties
Name | Description | |
---|---|---|
Count |
Gets the number of key-value pairs in the collection.
| |
IsFixedSize |
Gets whether the dictionary is fixed size.
| |
IsReadOnly |
Gets a value indicating whether the dictionary is read-only.
| |
IsSynchronized |
Gets whether the dictionary is synchronized.
| |
Item |
Gets or sets the element with the specified key.
| |
Keys |
Gets a collection containing the keys of the dictionary.
| |
SyncRoot |
Gets an object that can be used to synchronize access to the dictionary.
| |
Values |
Gets a collection containing the values in the dictionary.
|
Events
Name | Description | |
---|---|---|
CollectionChanged |
Occurs when an item is added, removed, or changed, or the entire list is refreshed.
| |
PropertyChanged |
Occurs when a property value changes.
|