Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IObservableMap<K, V> interface

Applies to Windows and Windows Phone

Notifies listeners of dynamic changes to a map, such as when items are added or removed.

Syntax


Public Interface IObservableMap(Of K, V) 
    Inherits IDictionary(Of K, V), IEnumerable(Of KeyValuePair)

Attributes

[Version(0x06020000)]

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.

EventDescription
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.

Interface inheritance

IObservableMap inherits IMap and IIterable. Types that implement IObservableMap also implement the interface members of IMap and IIterable, with an IKeyValuePair type constraint.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation.Collections
Windows::Foundation::Collections [C++]

Metadata

Windows.winmd

See also

Collections (C++/CX)

 

 

Show:
© 2014 Microsoft