Map.RemoveRoute Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Removes the specified route from the Map.

Namespace:  Microsoft.Phone.Maps.Controls
Assembly:  Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)


Public Function RemoveRoute ( _
    mapRoute As MapRoute _
) As Boolean
public bool RemoveRoute(
    MapRoute mapRoute


Return Value

Type: System..::.Boolean
true if the specified route was removed from the Map;otherwise, false.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also


Map Class

Microsoft.Phone.Maps.Controls Namespace