Share via


ToggleLabelsCommand.Execute Method

This documentation is no longer available on MSDN, however it is available as a CHM download.

Executes when the labels button on the NavigationBar is toggled.

Namespace: Microsoft.Maps.MapControl.Navigation
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)

Usage

Syntax

'Declaration
Public Overrides Sub Execute ( _
    map As MapBase _
)
public override void Execute (
    MapBase map
)
public:
virtual void Execute (
    MapBase^ map
) override
public void Execute (
    MapBase map
)
public override function Execute (
    map : MapBase
)

Parameters

  • map
    The map on which to turn map labels on or off.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

See Also

Reference

ToggleLabelsCommand Class
ToggleLabelsCommand Members
Microsoft.Maps.MapControl.Navigation Namespace