Start Property
Collapse the table of content
Expand the table of content

BingMapsDirectionsTask.Start Property

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

The starting location for which driving directions are displayed.

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

'Declaration
Public Property Start As LabeledMapLocation
<object>
  <object.Start>
    <LabeledMapLocation .../>
  </object.Start>
</object>

Property Value

Type: Microsoft.Phone.Tasks.LabeledMapLocation
Type: LabeledMapLocation. The starting location for which driving directions are displayed.

If the starting location is null or invalid when Show is called, the user’s current location is used as the starting location. However, if both the starting and ending location are null, the Show method will throw an InvalidOperationException.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2016 Microsoft