Partager via


IObservableMap<K, V> interface

Notifies event handlers of dynamic changes to a map, such as when items get added or removed.

Template parameters

  • K
    The type of the keys in the map.

  • V
    The type of the values in the map.

Members

The IObservableMap<K, V> interface inherits from IInspectable. IObservableMap also has these types of members:

  • Methods

Methods

The IObservableMap<K, V> interface has these methods.

Method Description
add_MapChanged

Adds an event handler for the MapChanged event.

remove_MapChanged

Removes the specified event handler for the MapChanged event.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.Foundation.Collections.h