MapControlDataHelper.BusinessLandmarkClick MapControlDataHelper.BusinessLandmarkClick MapControlDataHelper.BusinessLandmarkClick MapControlDataHelper.BusinessLandmarkClick Event

Definition

Occurs when the user taps a business location or clicks on it with the left mouse button. An instance of MapControlBusinessLandmarkClickEventArgs provides data for this event.

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 this API and the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

public : event TypedEventHandler<MapControl, MapControlBusinessLandmarkClickEventArgs> BusinessLandmarkClick
// Register
event_token BusinessLandmarkClick(TypedEventHandler<MapControl, MapControlBusinessLandmarkClickEventArgs> const& handler) const;

// Revoke with event_token
void BusinessLandmarkClick(event_token const& cookie) const;

// Revoke with event_revoker
BusinessLandmarkClick_revoker BusinessLandmarkClick(auto_revoke_t, TypedEventHandler<MapControl, MapControlBusinessLandmarkClickEventArgs> const& handler) const;
public event TypedEventHandler<MapControl, MapControlBusinessLandmarkClickEventArgs> BusinessLandmarkClick
Public Event BusinessLandmarkClick As TypedEventHandler (Of MapControl, MapControlBusinessLandmarkClickEventArgs)