MapsTask.SearchTerm Property

May 11, 2014

Gets or sets the search term that is used to find and tag locations on the map.

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

public string SearchTerm { get; set; }
<object SearchTerm="string" .../>

Property Value

Type: System.String
Type: String. The search term used to find and tag locations on the map.

You must set either the SearchTerm property or the Center property before calling Show() or an InvalidOperationException will be thrown.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2014 Microsoft