Udostępnij za pośrednictwem


MapChangedEventHandler<K,V> Delegate

Definition

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
[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))

Type Parameters

K
V

Parameters

sender
IObservableMap<K,V>

The observable map that changed.

event
IMapChangedEventArgs<K>

The description of the change that occurred in the map.

Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced in v1.0)

Remarks

This delegate is used by the PropertySet.MapChanged event and the IObservableMap.MapChanged event.

Applies to

See also