ValueSet.MapChanged Event
Definition
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.
Occurs when the observable map has changed.
public:
virtual event MapChangedEventHandler<Platform::String ^, Platform::Object ^> ^ MapChanged;
// Register
event_token MapChanged(MapChangedEventHandler<winrt::hstring, IInspectable const&> const& handler) const;
// Revoke with event_token
void MapChanged(event_token const* cookie) const;
// Revoke with event_revoker
ValueSet::MapChanged_revoker MapChanged(auto_revoke_t, MapChangedEventHandler<winrt::hstring, IInspectable const&> const& handler) const;
public event MapChangedEventHandler<string,object> MapChanged;
function onMapChanged(eventArgs) { /* Your code */ }
valueSet.addEventListener("mapchanged", onMapChanged);
valueSet.removeEventListener("mapchanged", onMapChanged);
- or -
valueSet.onmapchanged = onMapChanged;
Public Custom Event MapChanged As MapChangedEventHandler(Of String, Object) Implements MapChanged
Event Type
MapChangedEventHandler<Platform::String,Platform::Object>
MapChangedEventHandler<winrt::hstring,IInspectable>