GuidanceNavigator.GuidanceUpdated 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 navigational guidance has been updated.
Note
This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about the Windows.Services.Maps.Guidance namespace, please work with your Microsoft Account Team representative.
// Register
event_token GuidanceUpdated(TypedEventHandler<GuidanceNavigator, GuidanceUpdatedEventArgs const&> const& handler) const;
// Revoke with event_token
void GuidanceUpdated(event_token const* cookie) const;
// Revoke with event_revoker
GuidanceNavigator::GuidanceUpdated_revoker GuidanceUpdated(auto_revoke_t, TypedEventHandler<GuidanceNavigator, GuidanceUpdatedEventArgs const&> const& handler) const;
public event TypedEventHandler<GuidanceNavigator,GuidanceUpdatedEventArgs> GuidanceUpdated;
function onGuidanceUpdated(eventArgs) { /* Your code */ }
guidanceNavigator.addEventListener("guidanceupdated", onGuidanceUpdated);
guidanceNavigator.removeEventListener("guidanceupdated", onGuidanceUpdated);
- or -
guidanceNavigator.onguidanceupdated = onGuidanceUpdated;
Public Custom Event GuidanceUpdated As TypedEventHandler(Of GuidanceNavigator, GuidanceUpdatedEventArgs)