ResourceQualifierObservableMap.MapChanged Evento
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Si verifica quando la mappa cambia.
public:
virtual event MapChangedEventHandler<Platform::String ^, Platform::String ^> ^ MapChanged;
// Register
event_token MapChanged(MapChangedEventHandler<winrt::hstring, winrt::hstring const&> const& handler) const;
// Revoke with event_token
void MapChanged(event_token const* cookie) const;
// Revoke with event_revoker
ResourceQualifierObservableMap::MapChanged_revoker MapChanged(auto_revoke_t, MapChangedEventHandler<winrt::hstring, winrt::hstring const&> const& handler) const;
public event MapChangedEventHandler<string,string> MapChanged;
function onMapChanged(eventArgs) { /* Your code */ }
resourceQualifierObservableMap.addEventListener("mapchanged", onMapChanged);
resourceQualifierObservableMap.removeEventListener("mapchanged", onMapChanged);
- or -
resourceQualifierObservableMap.onmapchanged = onMapChanged;
Public Custom Event MapChanged As MapChangedEventHandler(Of String, String) Implements MapChanged
Tipo evento
MapChangedEventHandler<Platform::String,Platform::String>
MapChangedEventHandler<winrt::hstring,winrt::hstring>