I​Map​Changed​Event​Args<​K> I​Map​Changed​Event​Args<​K> I​Map​Changed​Event​Args<​K> Interface

Definition

Provides data for the changed event of a map collection.

public : interface IMapChangedEventArgs<K>public interface IMapChangedEventArgs<K>Public Interface IMapChangedEventArgs<K>
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Remarks

IMapChangedEventArgs; 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.

Properties

CollectionChange CollectionChange CollectionChange

Gets the type of change that occurred in the map.

public : CollectionChange CollectionChange { get; }public CollectionChange CollectionChange { get; }Public ReadOnly Property CollectionChange As CollectionChange
Value
CollectionChange CollectionChange CollectionChange

The type of change in the map.

Attributes

Remarks

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

See Also

Key Key Key

Gets the key of the item that changed.

public : K Key { get; }public K Key { get; }Public ReadOnly Property Key As K
Value
K K K

The key of the item that changed.

Attributes

Remarks

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

See Also