ApplicationDataCompositeValue.MapChanged Kejadian
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Terjadi ketika peta berubah.
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
ApplicationDataCompositeValue::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 */ }
applicationDataCompositeValue.addEventListener("mapchanged", onMapChanged);
applicationDataCompositeValue.removeEventListener("mapchanged", onMapChanged);
- or -
applicationDataCompositeValue.onmapchanged = onMapChanged;
Public Custom Event MapChanged As MapChangedEventHandler(Of String, Object) Implements MapChanged
Jenis Acara
MapChangedEventHandler<Platform::String,Platform::Object>
MapChangedEventHandler<winrt::hstring,IInspectable>