MapsDirectionsTask.End Property

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

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.

Syntax

Public Property End As LabeledMapLocation
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.

Remarks

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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

MapsDirectionsTask Class

Microsoft.Phone.Tasks Namespace

Other Resources

Launchers and Choosers for Windows Phone 8

How to use the Maps directions task for Windows Phone 8