IObservableMap<K, V> interface

This topic has not yet been rated - Rate this topic

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

Syntax


public interface IObservableMap<K, V> : IDictionary<K, V>, 
    IEnumerable<KeyValuePair>

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.

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.

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

DLL

Windows.Foundation.dll

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.