Share via


MapControlDataHelper.BusinessLandmarkPointerEntered Event

Definition

Indicates the pointer entered a business landmark.

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.

// Register
event_token BusinessLandmarkPointerEntered(TypedEventHandler<MapControl, MapControlBusinessLandmarkPointerEnteredEventArgs const&> const& handler) const;

// Revoke with event_token
void BusinessLandmarkPointerEntered(event_token const* cookie) const;

// Revoke with event_revoker
MapControlDataHelper::BusinessLandmarkPointerEntered_revoker BusinessLandmarkPointerEntered(auto_revoke_t, TypedEventHandler<MapControl, MapControlBusinessLandmarkPointerEnteredEventArgs const&> const& handler) const;
public event TypedEventHandler<MapControl,MapControlBusinessLandmarkPointerEnteredEventArgs> BusinessLandmarkPointerEntered;
function onBusinessLandmarkPointerEntered(eventArgs) { /* Your code */ }
mapControlDataHelper.addEventListener("businesslandmarkpointerentered", onBusinessLandmarkPointerEntered);
mapControlDataHelper.removeEventListener("businesslandmarkpointerentered", onBusinessLandmarkPointerEntered);
- or -
mapControlDataHelper.onbusinesslandmarkpointerentered = onBusinessLandmarkPointerEntered;
Public Custom Event BusinessLandmarkPointerEntered As TypedEventHandler(Of MapControl, MapControlBusinessLandmarkPointerEnteredEventArgs) 

Event Type

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.14393.0)
Windows Mobile Extension SDK (introduced in 10.0.14393.0)
Windows Team Extension SDK (introduced in 10.0.14393.0)
API contract
Windows.Services.Maps.LocalSearchContract (introduced in v3.0)

Applies to