Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMapChangedEventArgs<K> interface

Provides data for the changed event of a map collection.

Syntax


generic<typename K>
public interface class IMapChangedEventArgs

Type parameters

K

The type of the keys in the map.

Members

The IMapChangedEventArgs interface has these types of members:

Properties

The IMapChangedEventArgs interface has these properties.

PropertyAccess typeDescription

CollectionChange

Read-onlyGets the type of change that occurred in the map.

Key

Read-onlyGets the key of the item that changed.

 

Remarks

IMapChangedEventArgs<K> is specifically used for the MapChanged event of the IObservableMap<K,V> interface, via the MapChangedEventHandler<K,V> 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<K,V> 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.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

Windows.Foundation.Collections
Windows::Foundation::Collections [C++]

Metadata

Windows.Foundation.FoundationContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation.Collections
Windows::Foundation::Collections [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]

See also

PropertySet
IObservableMap<K,V>

 

 

Show:
© 2015 Microsoft