MapChangedEventHandler<K,V> Delegate
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the method that handles the changed event of an observable map.
public delegate void MapChangedEventHandler(IObservableMap<K, V> ^ sender, IMapChangedEventArgs<K> ^ event);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(395646963, 38126, 16888, 189, 220, 118, 138, 137, 85, 68, 243)]
template <typename K, typename V>
class MapChangedEventHandler : MulticastDelegate
C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
[Windows.Foundation.Metadata.Guid(395646963, 38126, 16888, 189, 220, 118, 138, 137, 85, 68, 243)]
public delegate void MapChangedEventHandler<K,V>(IObservableMap<K,V> sender, IMapChangedEventArgs<K> event);
Public Delegate Sub MapChangedEventHandler(Of K, V)(sender As IObservableMap(Of K, V), event As IMapChangedEventArgs(Of K))
- K
- V
- sender
- IObservableMap<K,V>
The observable map that changed.
- event
- IMapChangedEventArgs<K>
The description of the change that occurred in the map.
- Attributes
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.FoundationContract (introduced in v1.0)
|
This delegate is used by the PropertySet.MapChanged event and the IObservableMap.MapChanged event.
Product | Versions |
---|---|
WinRT | Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |