This topic has not yet been rated - Rate this topic

BingMapsDirectionsTask.End Property

Windows Phone

March 22, 2012

The ending 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.
public LabeledMapLocation End { get; set; }
<object>
  <object.End>
    <LabeledMapLocation .../>
  </object.End>
</object>

Property Value

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

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

Windows Phone OS

Supported in: 7.1

Windows Phone

Did you find this helpful?
(1500 characters remaining)