다음을 통해 공유


PropertySet.MapChanged 이벤트

정의

관찰 가능한 맵이 변경되면 발생합니다.

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
PropertySet::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 */ }
propertySet.addEventListener("mapchanged", onMapChanged);
propertySet.removeEventListener("mapchanged", onMapChanged);
- or -
propertySet.onmapchanged = onMapChanged;
Public Custom Event MapChanged As MapChangedEventHandler(Of String, Object) Implements MapChanged

이벤트 유형

MapChangedEventHandler<String,Object>

MapChangedEventHandler<Platform::String,Platform::Object>

MapChangedEventHandler<winrt::hstring,IInspectable>

구현

적용 대상