This topic has not yet been rated - Rate this topic

LabeledMapLocation.Label Property

Windows Phone

March 22, 2012

Gets or sets the text label that identifies the associated geographic location.

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
public string Label { get; set; }
<object Label="string" .../>

Property Value

Type: System.String
Type: String. The label that identifies the associated geographic location.

If the Location property is null, the Label value is used as a search term for the Bing Maps application.

To be considered valid, the value of this property must be non-null and not consist solely of white space. When used with the task, either the Label property or the Location property must be set to a valid value before calling Show() or an exception will be thrown.

Windows Phone OS

Supported in: 7.1

Windows Phone

Did you find this helpful?
(1500 characters remaining)