BingMapsDirectionsTask.End Property (Microsoft.Phone.Tasks)

Switch View :
ScriptFree
Windows Phone Class Library
BingMapsDirectionsTask.End Property

January 13, 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.
Syntax

Visual Basic (Declaration)
Public Property End As LabeledMapLocation
C#
public LabeledMapLocation End { get; set; }
XAML Property Element Usage
<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: 7.1
Platforms

Windows Phone

See Also

Reference

Other Resources