IMapChangedEventArgs<K> IMapChangedEventArgs<K> IMapChangedEventArgs<K> IMapChangedEventArgs<K> IMapChangedEventArgs<K> Interface


Provides data for the changed event of a map collection.

public : interface IMapChangedEventArgs<K>
struct winrt::Windows::Foundation::Collections::IMapChangedEventArgs<K>
public interface IMapChangedEventArgs<K>
Public Interface IMapChangedEventArgs<K>
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)


IMapChangedEventArgs<K> is specifically used for the MapChanged event of the IObservableMap; interface, via the MapChangedEventHandler; delegate. It's also used for PropertySet.MapChanged.

.NET developers can get instances of this interface via handling the PropertySet.MapChanged event or the MapChanged event from an IObservableMap instance. Even though the remainder of the collection support for IObservableMap or PropertySet uses language projections that change IMap; APIs to IDictionary<TKey,TValue> APIs, the MapChanged event, its delegates and its event data aren't changed by the projection and so "Map" (as opposed to "Dictionary") remains in the API names.


CollectionChange CollectionChange CollectionChange CollectionChange CollectionChange

Gets the type of change that occurred in the map.

Key Key Key Key Key

Gets the key of the item that changed.

See also