Notifies listeners of dynamic changes to a map, such as when items are added or removed.
Syntax
Attributes
- GuidAttribute("65df2bf5-bf39-41b5-aebc-5a9d865e472b")
- VersionAttribute(NTDDI_WIN8)
Type parameters
- K
-
The type of the keys in the map.
- V
-
The type of the values in the map.
Members
The IObservableMap interface has these types of members:
Events
The IObservableMap interface has these events.
| Event | Description |
|---|---|
| MapChanged | Occurs when the map changes. |
Remarks
The IObservableMap<K,V> interface enables clients to register for notification events to IMap<K,V> collections. For example, you might use IObservableMap<K,V> when you need to keep two map structures synchronized. In this case, use the IObservableMap<K,V> interface to receive notification of changes, so that the associated data structure can be updated.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
|
DLL |
|
Build date: 2/25/2013