ApplicationDataContainerSettings.MapChanged Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se produit lorsque la carte change.
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
ApplicationDataContainerSettings::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 */ }
applicationDataContainerSettings.addEventListener("mapchanged", onMapChanged);
applicationDataContainerSettings.removeEventListener("mapchanged", onMapChanged);
- or -
applicationDataContainerSettings.onmapchanged = onMapChanged;
Public Custom Event MapChanged As MapChangedEventHandler(Of String, Object) Implements MapChanged
Type d'événement
MapChangedEventHandler<Platform::String,Platform::Object>
MapChangedEventHandler<winrt::hstring,IInspectable>