LabeledMapLocation Class (Microsoft.Phone.Tasks)

Switch View :
ScriptFree
Windows Phone Class Library
LabeledMapLocation Class

January 13, 2012

Represents a geographic coordinate and an associated label that identifies it, such as the location of a business and the business name. This class is used with the BingMapsDirectionsTask class.

Inheritance Hierarchy

System.Object
  Microsoft.Phone.Tasks.LabeledMapLocation

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

Visual Basic (Declaration)
Public NotInheritable Class LabeledMapLocation
C#
public sealed class LabeledMapLocation
XAML Object Element Usage
<LabeledMapLocation .../>

The LabeledMapLocation type exposes the following members.

Constructors

  Name Description
Public method LabeledMapLocation Creates a new instance of the LabeledMapLocation class.
Public method LabeledMapLocation(String, GeoCoordinate) Creates a new instance of the LabeledMapLocation class.
Top
Properties

  Name Description
Public property Label Gets or sets the text label that identifies the associated geographic location.
Public property Location Gets or sets the geographic coordinate associated with a labeled map location.
Top
Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Top
Version Information

Windows Phone OS

Supported in: 7.1
Platforms

Windows Phone

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also

Reference

Other Resources