LabeledMapLocation.Label Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the text label that identifies the associated geographic location.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
<object Label="string" .../>
Property Value
Type: System.StringType: 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.