IMapChangedEventArgs<K>
IMapChangedEventArgs<K>
IMapChangedEventArgs<K>
IMapChangedEventArgs<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>// You can use this interface in JavaScript.
- Attributes
| 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 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// You can use this property in JavaScript.
The type of change in the map.
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 Key
Gets the key of the item that changed.
public : K Key { get; }public K Key { get; }Public ReadOnly Property Key As K// You can use this property in JavaScript.
- Value
- K K K K
The key of the item that changed.
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