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)

Syntax

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

Parameters

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

Reference

Map Class

Microsoft.Phone.Maps.Controls Namespace